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?