[Pythonmac-SIG] Current Working Directory in PyObjC
Dinu Gherman
gherman at darwin.in-berlin.de
Sun Nov 2 13:18:49 EST 2003
Stephen Mitchell:
> How does one get the current working directory in a double-clickable
> os X app?
Try this:
from AppKit import NSBundle
NSBundle.mainBundle().bundlePath()
Dinu
--
Dinu C. Gherman - http://python.net/~gherman
......................................................................
"I never apologize for the United States of America, I don't care what
the facts are." (George Bush, Sr.)
More information about the Pythonmac-SIG
mailing list