Output system parameter: PYTHONPATH path by path : System Variables « System « Python
- Python
- System
- System Variables
Output system parameter: PYTHONPATH path by path
import os
import string
for dir in string.split(os.environ['PYTHONPATH'], os.pathsep):
print dir
Related examples in the same category