how can i make a executable program with a python2's script

Stephen Boulet stephen.boulet at motorola.com
Fri Sep 6 17:57:19 EDT 2002


You can put

    #/usr/bin/env python

at the top of the file and do a chmod +x file. Is this the answer to the 
right question?

-- Stephen

jgm2163 wrote:
> os     :RedHat 7.2
> Python :Python2.2.1
> 
> now,i had writen a python's script (extend with .py)
> how can i make a executable program on RedHat 7.2?





More information about the Python-list mailing list