change current working directory to directory 'chapter3',os.chdir('chapter3')