tanakahdaのプログラマ手帳

プログラミングとかソフトウェア開発とかの備忘録

2020-01-01から1年間の記事一覧

proxy環境でpipを実行する@python

python -m pip install --trusted-host pypi.python.org --trusted-host files.pythonhosted.org --trusted-host pypi.org pip --upgrade pip Collecting pip Downloading pip-20.3.1-py2.py3-none-any.whl (1.5 MB) |████████████████████████████████| 1.5…

os.listdir でディレクター一覧を取得してunicode変換

import osdirectory = os.listdir('/Users/tanakahda/Desktop/files')print directoryprint unicode(directory[0], 'utf8')

SikuliX 実行中に停止するコマンド

Windows: [alt] + [Shift] + [c]Mac: [cmd] + [Shift] + [c]

Mac版 SikuliXでRobotDesktop error が発生したときの対処

システム環境設定 > セキュリティーとプライバシー > アクセシビリティ > 「下のアプリケーションにコンピュータの制御を許可」 で「Jar Lancher」にチェックを付ける。 参照: blocks Java Robot generated mouse actions Mac https://answers.launchpad.ne…

SikuliXとSelenium連携 ~ macOS / Chrome版 ~ @SikuliX

pipでモジュールをインストール pip install selenium pip install request # 自分の環境に合わせてバージョン指定する pip install chromedriver-binary==80.0.3987.106.0 """ https://pypi.org/project/chromedriver-binary/ https://pypi.org/project/chr…