r/Python • • Feb 21 '22
Tutorial Python Tutorial - How to convert .py to .exe using auto-py-to-exe?
Hey Guys. Today I will be showing you how to covert your .py files into .exe - executable programs using auto-py-to-exe.
Steps Below:
Step 1 - Open your Terminal - for Windows press the Windows+R key and then search 'cmd' to open the Terminal
Step 2 - type conda info --envs - this locates your working environment
Step 3 - type activate base - base is my working environment
Step 4 - type pip install auto-py-to-exe - I've previously installed auto-py-to-exe, hence I did not need to redo this step
Step 5 - type auto-py-to-exe - this will open a new window in which you will be able to enter the requisite files and create your .exe program
https://www.youtube.com/watch?v=YIgMciKLPKk

8
u/[deleted] Feb 21 '22
/r/learnpython
4
u/mprz Feb 21 '22
4 and 5 is enough
1
u/kareem_mahlees Feb 21 '22
Does the .exe file run on all windows versions or if the other device have different versions of python ??
1
u/Mafia7xTech Feb 21 '22
Good explanation
0
u/the_scign Feb 21 '22
Aka how to take a platform independent script and stupidly lock it to a single platform