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

Discussion in 'Python' started by D'Arcy J.M. Cain, Feb 27, 2008.

  1. On Wed, 27 Feb 2008 15:37:25 +0800
    "Rockins Chen" <> 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 <> | 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.
    D'Arcy J.M. Cain, Feb 27, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. David Tweet
    Replies:
    0
    Views:
    835
    David Tweet
    Dec 6, 2007
  2. Christian Heimes
    Replies:
    0
    Views:
    598
    Christian Heimes
    Feb 27, 2008
  3. Gerardo Herzig
    Replies:
    1
    Views:
    1,076
    Philipp Pagel
    Feb 27, 2008
  4. Tricky
    Replies:
    0
    Views:
    572
    Tricky
    Mar 19, 2009
  5. moongeegee

    execute a shell script in a shell script

    moongeegee, Dec 3, 2007, in forum: Perl Misc
    Replies:
    2
    Views:
    248
    Ben Morrow
    Dec 4, 2007
Loading...

Share This Page