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 <[EMAIL PROTECTED]>
To: tutor@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@python.org
http://mail.python.org/mailman/listinfo/tutor



_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to