[Pythonmac-SIG] mac.chdir ?
Steven D. Majewski
Tue, 27 Oct 1998 11:56:19 -0500 (EST)
I would love it if we could find a place in the standard library
for a function that does the following one liner:
os.chdir( macfs.GetDirectory().as_pathname() )
Only problem: I don't know where it should go. macfs seems the
logical place, however, it's a builtin, not a .py file module.
Alternatively: maybe a better way of linking the "current directory"
returned by os.getcwd() and used by other Python file functions with
the "magic" placeholder use by the Mac standard file dialogs.
( If there's any interest in the latter solution, I'll look up
what we changed in XlispStat to make it track better. However,
that only works if the Mac Control Panel is set to "Take me to
folder set by the application" )
---| Steven D. Majewski (804-982-0831) <sdm7g@Virginia.EDU> |---
---| Department of Molecular Physiology and Biological Physics |---
---| University of Virginia Health Sciences Center |---
---| P.O. Box 10011 Charlottesville, VA 22906-0011 |---
"I'm not as big a fool as I used to be, I'm a smaller fool." - Jack Kerouac
Some of the Dharma <http://members.aol.com/kerouacsis/SomeDharma.html>