pretty code

2018年12月7日 星期五

Single Python executable binary on Windows

I used "PyInstaller" and I used these parameters to build it

"pyinstaller -D -F -w main.py"

My "main.py" is a "wxPython" project and it works well.

Caution: If you use Python 3.7, you will encounter wx._core import error. You can use Python 3.6 to fix this error.

沒有留言: