chrome ブラウザで使用するブックマーク。
カテゴリー: Python
【Python】タイムアウト処理
Python開発で、サイトにアクセスしようとしたけど、タイムアウトしてしまった時、 以下のライブラリを使うとよい。 from timeout_decorator import timeout, TimeoutError
【Python】Pycharmでインデントの設定を変える方法
Pycharmで、インデントにスペースとタブが混じっているとエラーになる。 TabError: inconsistent use of tabs and spaces in indentation そこで、Pycharm
【AppleScript】Python を使って「trim」する
AppleScript → Shell → Python で、trimする。 log my trim({text_:" test "}) on trim(args) set {text_:aText}
【Python】別のpyファイルの関数を呼ぶ
com / test.py def test1(arg1): return "test = " + arg1 呼び出し元 from com import test rtn = test.test1(&