<human>:  change current working directory in python
<bot>: Here is some code to change current working directory

os.chdir('.\\chapter3')

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.