简体   繁体   中英

How to make exe file for python file.?

I'm making an GUI application using Tkinter, but I'm not able to run this file on other operating systems. How can I do this?

Python version is 3.5.2, and working on Windows.

Install PyInstaller from PyPI:

pip install pyinstaller

Go to your program's directory and run:

pyinstaller yourprogram.py

This will generate the bundle in a subdirectory called dist .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM