Published in: Python
import os # List os.listdir('c:') # Delete os.remove('C:\\Temp\\xml') # Copy import shutil shutil.copy(src,dest)
You need to login to post a comment.
Learning Python
The authors of Learning Python show you enough essentials of the Python scripting language to enable you to begin solving problems right away, then reveal more powerful aspects of the language one at a time. This approach is sure to appeal to programmers and system administrators who have urgent problems and a preference for learning by semi-guided experimentation.
qrist0ph on 05/13/08
fileSystemCheatSheet cheatSheet
1 person has marked this snippet as a favorite
Published in: Python
import os # List os.listdir('c:') # Delete os.remove('C:\\Temp\\xml') # Copy import shutil shutil.copy(src,dest)
You need to login to post a comment.