What browsers are supported?URL Opener works with any browser that supports JavaScript. This includes the major browsers such as Internet Explorer, Firefox, Chrome, Opera, and Midori.What about my privacy of what I enter?Nothing you enter ever leaves your browser. Everything is stored locally in your browser. No Signup/Login Required.I have a feature request?That's good to hear. Just mail us or pi
Opens a list of URLs This tool takes a list of web pages in plain-text format and opens them all in new tabs. Paste the list into the text area (one website address per line), select your options and click "Open URLs". Source Code: https://github.com/htrinter/Open-Multiple-URLs/ Changelog: https://github.com/htrinter/Open-Multiple-URLs/blob/develop/CHANGELOG.md Permissions: - "Storage" permission
これでshell上でopen .と入力した時と同じ結果が得られます. 自分で関数を定義しよう いちいちM-x shell-commandなどするのは面倒ですので,これを1つのユーザ定義関数にしましょう. ;; current directory open (defun finder-current-dir-open() (interactive) (shell-command "open .")) ;; directory open (defun finder-open(dirname) (interactive "DDirectoryName:") (shell-command (concat "open " dirname))) ;; set the keybind (global-set-key (kbd "M-f") 'finder-current-dir-open)
MacのターミナルからFinderにフォルダを表示させるには、表示させたいフォルダーをopenコマンドに渡します。 例:ホームディレクトリをFinderで開く
Cheat Sheet: Writing Python 2-3 compatible code¶ Copyright (c): 2013-2024 Python Charmers, Australia. Author: Ed Schofield. Licence: Creative Commons Attribution. A PDF version is here: https://python-future.org/compatible_idioms.pdf This notebook shows you idioms for writing future-proof code that is compatible with both versions of Python: 2 and 3. It accompanies Ed Schofield’s talk at PyCon AU
この記事の目指すところ 現在 Python はバージョン 2.x 系と 3.x 系という、一部に互換性のないふたつのメジャーバージョンが併用されている。 その上で、この記事にはふたつの目的がある。 ひとつ目は、2.x 系と 3.x 系の違いについてまとめること。 現状、それぞれのバージョン毎の違いはまとまっているところが少ない。 自分用に、このページだけ見ればひと通り分かる!っていうものがほしかった。 ふたつ目は、2.x 系と 3.x 系の違いを吸収するソースコードの書き方についてまとめること。 こちらも Web 上にナレッジがあまりまとまっていない。 これについては今 python-future というパッケージがアツい。 尚、サポートするバージョンは以下の通り。 2.x 系: 2.6 と 2.7 3.x 系: 3.3 と 3.4 本題に入る前に、最近の Python 事情についてまとめ
python2.x系は、strオブジェクトとunicodeオブジェクトが別々なのでややこしい。 いろいろ調べているうちにこんな感じになった。 python3.x系はテキストはunicode処理されるので、もっと簡単らしい。 MacOS X 10.6.8 Python 2.6.1 # coding: UTF-8 import codecs import string import re f_in = codecs.open('test.txt', 'r', 'utf-8') f_out = codecs.open('test_out.txt', 'w', 'utf-8') lines = f_in.readlines() #読み込み lines2 = [] for line in lines: line = string.replace(line,u'テキスト',u'text') #テキスト
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く