Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Re: How to pass shell variable to shell script from python

Reply
Thread Tools

Re: How to pass shell variable to shell script from python

 
 
D'Arcy J.M. Cain
Guest
Posts: n/a
 
      02-27-2008
On Wed, 27 Feb 2008 15:37:25 +0800
"Rockins Chen" <(E-Mail Removed)> 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 <(E-Mail Removed)> | 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.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
Re: How to pass shell variable to shell script from python Gerardo Herzig Python 1 02-27-2008 12:19 PM
Re: How to pass shell variable to shell script from python Christian Heimes Python 0 02-27-2008 10:53 AM
Re: how to pass parameter to a python script when running it in theinteractive shell? David Tweet Python 0 12-06-2007 03:13 AM
execute a shell script in a shell script moongeegee Perl Misc 2 12-04-2007 12:18 AM



Advertisments