Pythonを実行ファイル(exe化)する
PythonスクリプトをWindows環境で動くexeファイルにしよう!こちらを参考にしました。
pyinstallerを入れる
コマンドラインで以下を実行(例 test.pyを実行ファイル化する場合)
distフォルダ内にexeファイルができる
pyinstallerを入れる
1 | pip install pyinstaller |
コマンドラインで以下を実行(例 test.pyを実行ファイル化する場合)
1 | pyinstaller test.py --onefile |
distフォルダ内にexeファイルができる
コメント
コメントを投稿