I need to generate an executable from a python project containing multiple folders and files. I tried to work with library cx_Freeze, but only worked for a single file project.
Can you tell me how to do please?
use pyinstaller. just run pip install pyinstaller and then open the folder the file is located in with shell and run pyinstaller --onefile FILE.py where file is the name of the python file that should be run when the exe is run
pip install pyinstaller
pyinstaller --onefile FILE.py
2.1m questions
2.1m answers
60 comments
57.0k users