[Pythonmac-SIG] Current Working Directory in PyObjC

Stephen Mitchell stephenmitchell at letu.edu
Sun Nov 2 13:55:16 EST 2003


This works great - only one modification needed (at least on Panther)

    from AppKit import NSBundle
    NSBundle.mainBundle().bundlePath()

on Panther should be:

    from Foundation import NSBundle
    NSBundle.mainBundle().bundlePath()

Thanks for your help!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 341 bytes
Desc: not available
Url : http://mail.python.org/pipermail/pythonmac-sig/attachments/20031102/0217f001/attachment.bin


More information about the Pythonmac-SIG mailing list