By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,404 Members | 1,074 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,404 IT Pros & Developers. It's quick & easy.

Another easy pair of questions

P: n/a
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?

May 8 '07 #1
Share this Question
Share on Google+
3 Replies


P: n/a
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
May 8 '07 #2

P: n/a
On May 8, 4:12 pm, "Martin v. Lwis" <mar...@v.loewis.dewrote:
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
Lots more information on getting path information can be found at this
recipe:

http://aspn.activestate.com/ASPN/Coo.../Recipe/474083

Mike

May 8 '07 #3

P: n/a
Press the cursor-up key.

Martin
Should have mentioned that I tried that hunting around earlier and it
did not work.
jh

May 8 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.