0

I am attempting to translate a bash script into python code and am currently hung up on the line

export PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local:/usr/lib 

I cannot figure out what this line is doing and subsequently can't find a python equivalent, any help would be appreciated.

2
  • setting up the environment path. Commented Jul 14, 2015 at 17:12
  • @AvinashRaj so would something like: os.environ(['/usr/sbin:/usr/bin:/sbin:/bin:/usr/local:/usr/lib']) work? Commented Jul 14, 2015 at 17:16

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.