Mega Code Archive

 
Categories / Python / System
 

Show my cwd execution dir and first 6 import paths

import os, sys print 'my os.getcwd =>', os.getcwd()             print 'my sys.path  =>', sys.path[:6]             raw_input()                                     # wait for keypress if clicked