LoginSignup
2
1

More than 1 year has passed since last update.

Pythonファイルをexe化する

Last updated at Posted at 2021-09-03

pyinstallerを使うとexeに変換できる。
WindowsでPythonがインストールされてない場合はexeじゃないと動かない。

pip install pyinstaller
pyinstaller sample.py --onefile

プロンプトを出したくない場合
sample.pyをsample.pywに拡張子を変更。

pyinstaller sample.pyw --onefile

参考

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1