Python

Moderators: None (Apply to moderate this forum)
Number of threads: 473
Number of posts: 1172

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Executable? Posted by yamahaCal on 19 Jun 2003 at 10:32 AM
I am pretty new to python and I was wondering how and if you could make a stand alone program with python, like a .exe or do I have to run all of my scripts with IDLE.
Report
Re: Executable? Posted by infidel on 19 Jun 2003 at 10:53 AM
: I am pretty new to python and I was wondering how and if you could make a stand alone program with python, like a .exe or do I have to run all of my scripts with IDLE.

Actually, IDLE is just a Python script too. All scripts, including IDLE, are run through the Python interpreter (python.exe or pythonw.exe). There are a couple of projects out there that achieve what you are asking by effectively bundling up your scripts with the interpreter into an executable. From what I've read, there isn't much if any performance gain since the code is still interpreted, but you do end up with a single file.

Here's one that also has references to others: http://www.computronix.com/utilities.shtml

I've never used any of these so I can't offer more specific advice.


infidel

Report
Re: Executable? Posted by mojave_kid on 25 Aug 2003 at 2:21 AM
search www.sourceforge.net for the program py2exe ...

i use it to convert my .py scripts to .exe

go ! go ! go !
Report
Re: Executable? Posted by yamahaCal on 25 Aug 2003 at 3:45 PM
: search www.sourceforge.net for the program py2exe ...
:
: i use it to convert my .py scripts to .exe
:
: go ! go ! go !
:

thats pretty cool except I can't get it to work at all -_-

Could you post a show script to use with py2exe please?

That would be great, Thanks.




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.