How to pass shell variable to shell script from python

D'Arcy J.M. Cain darcy at druid.net
Wed Feb 27 08:56:34 EST 2008


On Wed, 27 Feb 2008 15:37:25 +0800
"Rockins Chen" <ybc2084 at gmail.com> wrote:
> Clearly, I made some typing mistake, it's the shbang line! it should be:
> #!/usr/bin/python

Side topic - if you want portability use the following:

#! /usr/bin/env python

-- 
D'Arcy J.M. Cain <darcy at druid.net>         |  Democracy is three wolves
http://www.druid.net/darcy/                |  and a sheep voting on
+1 416 425 1212     (DoD#0082)    (eNTP)   |  what's for dinner.



More information about the Python-list mailing list