Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== OS ENV Variables ====== **General Information** Using OS environmental variables. **Checklist** * Import the "os" module ---- ====== The Code ====== <code python> #!/usr/bin/python import os user_home=os.environ.get('HOME') print "Home is: " + user_home </code> ---- python_wiki/os_env_variables.txt Last modified: 2019/05/25 23:50(external edit)