Howcome when I run this script: print """MS-DOS Prompt 'Q' to Quit""" import os command = "" while command.lower() != "q": directory = os.getcwd() print "\n", directory, "\b>", command = raw_input("\b") os.system(command) it doesn't update the directory when I use 'cd' for the command prompt?