Re: parse an environment file

Discussion in 'Python' started by Jason Friedman, Oct 6, 2012.

  1. > The only canned solution for parsing a bash script is bash. Think
    > about it the other way around: If you wanted to have a Python variable
    > made available to a bash script, the obvious thing to do is to invoke
    > Python. It's the same thing.


    I scratched my own itch:
    http://code.activestate.com/recipes/578280-parse-profile/.
     
    Jason Friedman, Oct 6, 2012
    #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. Jason Friedman

    parse an environment file

    Jason Friedman, Oct 1, 2012, in forum: Python
    Replies:
    3
    Views:
    259
    Alain Ketterlin
    Oct 1, 2012
  2. Dave Angel

    Re: parse an environment file

    Dave Angel, Oct 1, 2012, in forum: Python
    Replies:
    0
    Views:
    200
    Dave Angel
    Oct 1, 2012
  3. Chris Angelico

    Re: parse an environment file

    Chris Angelico, Oct 1, 2012, in forum: Python
    Replies:
    0
    Views:
    248
    Chris Angelico
    Oct 1, 2012
  4. Jason Friedman

    Re: parse an environment file

    Jason Friedman, Oct 1, 2012, in forum: Python
    Replies:
    4
    Views:
    241
    Ramchandra Apte
    Oct 2, 2012
  5. Chris Angelico

    Re: parse an environment file

    Chris Angelico, Oct 1, 2012, in forum: Python
    Replies:
    0
    Views:
    246
    Chris Angelico
    Oct 1, 2012
Loading...

Share This Page