Re: How to make executable file ?
BOOGIEMAN wrote: Just how to make *.exe file from python code ?? I typed this : a, b = 0, 1 while b 1000: print b, a, b = b, a+b and saved it as pyt.txt Now, how do I make pyt.exe file ??? I want to run it on windows where isn't installed python. You may want to try cx_freeze. Details on it can be found at http://starship.python.net/crew/atuining/cx_Freeze/ Binaries are available for Linux and Windows. Alternately, source code is available if you need to compile it for a different platform. -- Thank you, Andrew Robert E-mail: [EMAIL PROTECTED] Ur: http://shardservant.no-ip.info -- http://mail.python.org/mailman/listinfo/python-list
Re: How to make executable file ?
Also, you can try with py2exe. It's very easy. Catalin. Andrew Robert [EMAIL PROTECTED] escribió en el mensaje news:[EMAIL PROTECTED] BOOGIEMAN wrote: Just how to make *.exe file from python code ?? I typed this : a, b = 0, 1 while b 1000: print b, a, b = b, a+b and saved it as pyt.txt Now, how do I make pyt.exe file ??? I want to run it on windows where isn't installed python. You may want to try cx_freeze. Details on it can be found at http://starship.python.net/crew/atuining/cx_Freeze/ Binaries are available for Linux and Windows. Alternately, source code is available if you need to compile it for a different platform. -- Thank you, Andrew Robert E-mail: [EMAIL PROTECTED] Ur: http://shardservant.no-ip.info -- http://mail.python.org/mailman/listinfo/python-list
Re: How to make executable file ?
An alternative way is to use Movable Python. It's a frozen distribution of python that can run without being 'installed'. See http://sourceforge.net/projects/movpy To display things in a 'window' you'll need to use a GUI toolkit like Tkinter or wxPython. Regards, Fuzzy http://www.voidspace.org.uk/python/index.shtml -- http://mail.python.org/mailman/listinfo/python-list
RE: How to make executable file ?
Title: RE: How to make executable file ? Also, you can try with py2exe. It's very easy. Catalin. You may want to try cx_freeze. I brief experience with both. may be helpful 1. I did a little program on python/TK. Some 100 lines or less 2. executed cx_freeze 3. executed py2exe In the end, i had a dir with the name of the script: 03/12/04 18:08 DIR . 03/12/04 18:08 DIR .. 03/12/04 18:07 28.672 bugger.12.exe 25/05/04 21:19 45.117 datetime.pyd 03/12/04 18:07 563.528 library.zip 09/11/04 15:41 964 palavras.txt (this is data, i put here) 25/05/04 21:17 974.909 python23.dll 03/12/04 18:07 DIR tcl 31/03/04 21:34 569.344 tcl84.dll 31/03/04 21:41 1.011.200 tk84.dll 25/05/04 21:18 16.384 w9xpopen.exe 25/05/04 21:18 57.401 _sre.pyd 25/05/04 21:19 36.925 _tkinter.pyd 10 File(s) 3.304.444 bytes 3 Dir(s) 2.143.559.680 bytes free Despite the fact that it got extremely big (but i wasn't expecting less when i started) it got pretty clumsy for what i had in mind. I was hoping for something like a 10Mb-single-exe-file kinda of result :) I belive cx_freeze didn't did much because i had no small includes. just the huge ones like Tk. Gabriel -- http://mail.python.org/mailman/listinfo/python-list
How to make executable file ?
Just how to make *.exe file from python code ?? I typed this : a, b = 0, 1 while b 1000: print b, a, b = b, a+b and saved it as pyt.txt Now, how do I make pyt.exe file ??? I want to run it on windows where isn't installed python. -- http://mail.python.org/mailman/listinfo/python-list
Re: How to make executable file ?
BOOGIEMAN wrote: [...] and saved it as pyt.txt Maybe pyt.py is better :) Now, how do I make pyt.exe file ??? I want to run it on windows where isn't installed python. Have a look at py2exe: http://starship.python.net/crew/theller/py2exe/ don't be scared when you see the dimension of the files... cheers -- Gian Mario Tagliaretti PyGTK GUI programming http://www.parafernalia.org/pygtk/ -- http://mail.python.org/mailman/listinfo/python-list
Re: How to make executable file ?
On Sun, 02 Jan 2005 21:56:45 +0100, Gian Mario Tagliaretti wrote: don't be scared when you see the dimension of the files... 1.9 Mb for a console application ?! And is it possible to make Windows application ? I want to display results in windows message box. -- http://mail.python.org/mailman/listinfo/python-list
Re: How to make executable file ?
Hi all, This may be OT but is there a way to do the same for *nix type of system? Like cast a python interpreter with scripts together? I'm running Mac OSX here. The only remote idea I have is to use jythonc to convert everything into .class files and package that as a .jar file but I can't do that with C bindings. Any suggestions? Thanks, Maurice -- http://mail.python.org/mailman/listinfo/python-list
Re: How to make executable file ?
Maurice LING wrote: Hi all, This may be OT but is there a way to do the same for *nix type of system? Like cast a python interpreter with scripts together? I'm running Mac OSX here. For OSX, google for py2app - for *nix in general, I believe freeze is your mman, although so many *nixen ship with Python these days it's not such an issue. -- Website: www DOT jarmania FULLSTOP com -- http://mail.python.org/mailman/listinfo/python-list
Re: How to make executable file ?
Maurice LING [EMAIL PROTECTED] wrote: Hi all, This may be OT but is there a way to do the same for *nix type of system? Like cast a python interpreter with scripts together? Yes, but fortunately on the Mac you don't need that. I'm running Mac OSX here. Assuming we're talking Mac OS X 10.3 or later, Python itself comes with the operating system (it's used somewhere in stuff provided with the system, such as fax handling). As I saw others suggest, google for py2app, it's probably the best way to handle this for the Mac today. Alex -- http://mail.python.org/mailman/listinfo/python-list