Last active
December 9, 2015 11:36
-
-
Save AndrewHazelden/9617f353eee2208e3f71 to your computer and use it in GitHub Desktop.
A Python script to check the system's environment path variable
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
print '[System ENV PATH] ' + os.environ['PATH'] | |
# Result: [System ENV PATH] /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment