In a python Tk shell in Windows, what is the equivalent of unix's pwd? In a python Tk shell in Windows, is there an easy way to reoeat an earlier command, similar to Tcl/Tk's hist?