How to convert a Python project to exe using pyinstaller? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to convert a Python project to exe using pyinstaller?

I know how to convert a single file into exe but I want to convert a whole project. I have a project in Pycharm with virtual environment created. How can I convert all the files (that import each other of course) in the project to exe?

24th Nov 2018, 4:26 PM
Aditya Rana
4 Answers
24th Nov 2018, 6:59 PM
Sarvesh Yadav
Sarvesh Yadav - avatar
+ 2
Bro put all files in one folder then convert in exe........
25th Nov 2018, 6:04 AM
Sarvesh Yadav
Sarvesh Yadav - avatar
+ 1
pyinstaller Yourfile.py
9th Oct 2021, 5:11 AM
Sancho Godinho
Sancho Godinho - avatar
0
Sarvesh ✓ I want to convert the whole project not a single file. The files import each other so creating exe one by one would result in error.
24th Nov 2018, 7:01 PM
Aditya Rana