[BangPypers] py2exe

Pradeep Gowda pradeep at btbytes.com
Sat Sep 20 18:12:35 CEST 2008

On Sep 20, 2008, at 12:14 PM, Abhinav Sarkar wrote:

> Mahaboob subhan wrote:
>> we can install py2exe only in windows,
>> it's not available for Linux .
>> meaning we can't install py2exe in Linux
>> any other alternatives?
> If you are trying to make python scripts executable in Linux, then  
> you don't need any special software to do that. Just make the  
> script executable by chmodding them like this:
> chmod +x script.py

Also don't forget the hash-bang at the top of the file : #! /usr/bin/ 
env python

This line tells the OS which program to use launch the script.

Scripts are First Class citizens in *NIX world. So, not every program  
has to be an executable.

Pradeep Kishore Gowda

More information about the BangPypers mailing list