Answer the question
In order to leave comments, you need to log in
How to convert .py to .exe?
Good evening.
I wrote a small program in Python, I need to make it "run on Windows".
I installed a VM with Windows, installed Python, the necessary libs. I tried to do it through py2exe, everything seems to be going well, but when the .exe file is launched, the window immediately closes.
How to do it right?
Answer the question
In order to leave comments, you need to log in
cx_Freeze
1) Install it . Or via pip : pip install cx_Freeze
2)Create a setup.py file. Here is the instruction
3) Run from the terminal
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question