Python備忘録

Pipenv

install

pip install pipenv

環境構築

pythonのバージョンを確認

python --version

環境構築をしたいディレクトリに移動し、
確認したバージョンを指定

pipenv --python [VERSION]

Usage

  • 起動(構築したディレクトリ内で)
pipenv shell
  • 終了
exit

PyInstaller

install

pip install pyinstaller

Usage

pyinstaller --onefile --clean test.py

参考