Another easy pair of questions

"Martin v. Löwis" martin at v.loewis.de
Tue May 8 17:12:01 EDT 2007


> In a python Tk shell in Windows, what is the equivalent of unix's pwd?

os.getcwd()

> In a python Tk shell in Windows, is there an easy way to reoeat an
> earlier command, similar to Tcl/Tk's hist?

Press the cursor-up key.

Martin



More information about the Python-list mailing list