import os def print_system_info() : print "Current directory: "+os.curdir print "Parent director: "+os.pardir print "File Separator: "+os.sep print "Extension Separator: "+os.extsep print "Environment strings:" for e in os.environ : print e print_system_info()