How Convert py to exe | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How Convert py to exe

I tried very ways to convert py to exe but I'm not successful can you help me? my python is 3.6

16th Nov 2017, 7:53 AM
Amirreza Sadeghi
Amirreza Sadeghi - avatar
4 Answers
+ 3
Pyhton is an scripting language. Consider creating a variable. >>> var = 10 and in the next line >>> var = "Long string..." this means size of storage for this var will be specified during runtime. Such thing is not possible in Exe(it's assembly code). Even if you exported one with Python it's not gonna perform well.
29th Nov 2017, 7:56 AM
SkillsOn
SkillsOn - avatar
+ 1
you can convert py to exe by using pyinstaller. (for more info come to my pv :) )
28th Nov 2017, 5:11 PM
SMhd Asadi
SMhd Asadi - avatar
0
Python 2.x was able. But i haven't heard of python 3.x to export exe.
16th Nov 2017, 9:44 AM
SkillsOn
SkillsOn - avatar
0
Use py2exe module. In the past I have found many tutorials on youtube.
28th Nov 2017, 9:35 PM
maro584