Convert Python code(.py) to exe | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 6

Convert Python code(.py) to exe

How can i convert my .py file into a runnable .exe file?

19th Apr 2018, 8:01 PM
Giorgos Kaminiotis
Giorgos Kaminiotis - avatar
5 Answers
+ 41
if you need a one file or just little fixes PyInstaller if you need more fixes and edits,etc cx_Freeze
20th Apr 2018, 6:34 PM
warlord
warlord - avatar
+ 6
py2exe, cx_freeze or nuitka. I tested all - py2exe and cx_freeze I can recommend as the easiest to use.
19th Apr 2018, 8:41 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 4
19th Apr 2018, 8:07 PM
jerome
+ 2
I had problems with py2exe, as it was a bit outdated for python 3.5, i would recommend cx-freeze though
20th Apr 2018, 7:28 AM
James Pinder
+ 2
ty guys
20th Apr 2018, 8:56 PM
Giorgos Kaminiotis
Giorgos Kaminiotis - avatar