Can i compile cython code to .EXE? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Can i compile cython code to .EXE?

22nd Sep 2018, 5:49 PM
Yan
Yan - avatar
3 Answers
+ 20
Yan Of course you can. Pyinstaller works well in python 3.6+. cmd-> pip install pyinstaller and then pyinstaller yourfile.py
22nd Sep 2018, 5:53 PM
r8w9
r8w9 - avatar
+ 20
Julian, try to rewrite all your programs into only one main file. You can still write separate programs in separate files but don't forget to import them to your final program file and then convert it to .exe.
22nd Sep 2018, 8:16 PM
r8w9
r8w9 - avatar
+ 2
r8w9 is there also a way to do it with mulitple files, with for e.g a main.py as the file that runs?
22nd Sep 2018, 6:55 PM
Julian
Julian - avatar