[Tutor] interpreted or compiled?
Michael
python at mrfab.info
Wed Sep 12 16:27:27 CEST 2007
wormwood_3 wrote:
> Michael,
>
> The most common method I know of to do this is py2exe: http://www.py2exe.org/ This lets you turn scripts into executable Windows programs.
>
> A different, and perhaps better, method is PyInstaller: http://pyinstaller.python-hosting.com/ This creates executables for Windows and Linux.
>
> If you just meant run a script without calling Python, you can add the she-bang line (#!/usr/bin/python as the first line. Change to wherever Python lives on your system), and make the file executable (this is all assuming you are on Linux, sorry). Then you can just do "./mycoolscript.py" and run it.
>
> Hope these help!
>
> -Sam
>
> ----- Original Message ----
> From: Michael <python at mrfab.info>
> To: tutor at python.org
> Sent: Wednesday, September 12, 2007 9:58:46 AM
> Subject: [Tutor] interpreted or compiled?
>
> Hi
>
> As a new Python user I was curious if you can run Python without the
> environment, ie make it an executable?
>
> Thanks
>
> Michael
> _______________________________________________
> Tutor maillist - Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
>
>
>
> _______________________________________________
> Tutor maillist - Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
>
>
Thanks guys. Amazingly quick response.
More information about the Tutor
mailing list