Painting Blue Code
Simple, self-explanatory code snippets.
2015-07-08
PYTHON - Display and change current working directory
import os
print( os.getcwd() )
os.chdir( os.path.dirname("C:/folder/subfolder") )
print( os.getcwd() )
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment