Which currently is the best one out there?
https://simpletutorials.com/c/2075/How+ ... ing+py2exe
http://www.pyinstaller.org/
https://pypi.org/project/auto-py-to-exe/
Python compiler
Moderators: hgm, Rebel, chrisw
-
- Posts: 6995
- Joined: Thu Aug 18, 2011 12:04 pm
Python compiler
90% of coding is debugging, the other 10% is writing bugs.
-
- Posts: 4833
- Joined: Sun Aug 10, 2008 3:15 pm
- Location: Philippines
Re: Python compiler
I use py2exe and pyinstaller. Both works depending of course on the python version that they support. It seems pyinstaller supports python 3.7, so if you use 3.7 better use pyinstaller. I think it was pyinstaller that allows me to compile a python gui too.Rebel wrote: ↑Tue Apr 02, 2019 5:24 am Which currently is the best one out there?
https://simpletutorials.com/c/2075/How+ ... ing+py2exe
http://www.pyinstaller.org/
https://pypi.org/project/auto-py-to-exe/
-
- Posts: 4319
- Joined: Tue Apr 03, 2012 4:28 pm
Re: Python compiler
I use Visual Studio, mostly because I am used to it from C, but also because it handles mixing C with Python. Believe it or not, haven’t worked out how to produce a stand alone executable, because never needed to, always just work within the IDE.
-
- Posts: 4833
- Joined: Sun Aug 10, 2008 3:15 pm
- Location: Philippines
Re: Python compiler
Most windows users do not really care about py source and don't even bother installing this ever changing python libraries. It is good to compile a stable py source once in a while so that when the lib/dependencies gets updated and may render the current source useless, the exe is there ready for use.
-
- Posts: 4319
- Joined: Tue Apr 03, 2012 4:28 pm
Re: Python compiler
Windows developers care about the sources! My company was a beta test developer for what became Visual Studio in 1997 or 8 or something. It handled multiple programming teams and was the must have dev kit for doing, for example, Sony Playstation via the Sony hardware extension and other similar stuff. I know there is a community that is constantly hostile, even snobbish, about Windows, but, at that time, Microsoft Developer was the commercial, bug-free, organised, successful, games software developers system of choice. I use it now, cos I'm used to it, I find it a bit over-heavy on features, and sometimes irritating, but good at integrating stuff together, especially C and Python.Ferdy wrote: ↑Tue Apr 02, 2019 11:07 amMost windows users do not really care about py source and don't even bother installing this ever changing python libraries. It is good to compile a stable py source once in a while so that when the lib/dependencies gets updated and may render the current source useless, the exe is there ready for use.