2008年2月1日 星期五

Python learning

import os
os.getcwd() # get current directory
os.listdir('a') # see what’s in this directory a
os.chdir('b') # change to subdirectory b
os.mkdir(’c’) # make a new directory