By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,629 Members | 1,222 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,629 IT Pros & Developers. It's quick & easy.

setting environment from shell file in python

P: n/a
Is there a utility to parse a Bourne shell environment file, such as
..bashrc, and set the environmental variables from within a Python
script? What I mean is an equivalent to shell dot command.
I don't think it would be too difficult to write a shell parser, but if
such thing already exists...

May 29 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.