Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: setting evironment of Linux using python
Post: RE: setting evironment of Linux using python

hi, I am trying it in python in this way # set the test Environment SAM_HOME = "/opt/test" if os.path.exists("~sam/bin/test"): SAM_HOME = "~sam" os.system(". " + SAM_HOME + "/bin/test") os....
kgkhan General Coding Help 2 4,748 Dec-06-2016, 02:27 PM
    Thread: setting evironment of Linux using python
Post: setting evironment of Linux using python

Hi I am trying to convert a shell script to python. In shell script they are setting the Environment I don't know how to do that using the python here is the sample from the shell script. # set the t...
kgkhan General Coding Help 2 4,748 Dec-05-2016, 05:17 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020