155
Comment:
|
721
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
You can find information on Python on the Macintosh at https://www.cwi.nl/~jack/macpython. Installers, documentation and much more is available there too. | '''Much of this page is wildly out of date and/or wrong (a common problem with Wikis).''' '''Please see [https://python.domainunion.de/download/mac/ the regular Macintosh Python download page] for more up-to-date information.''' === How to Make FSSpec's === This should probably be somewhere else, but it's too useful to wait until I can figure out where that would be. (Note: I have only tried this in Python 2.3) {{{ #!python from Carbon import File spec = File.FSSpec('/normal/slash/based/unix/path/string') }}} That's ALL! Don't muck around with FSMakeFSSpec or CFURL or any of that stuff. I found this [https://mail.python.org/pipermail/pythonmac-sig/2003-March/007459.html on the pythonmac-SIG list]. |
Much of this page is wildly out of date and/or wrong (a common problem with Wikis).
Please see [https://python.domainunion.de/download/mac/ the regular Macintosh Python download page] for more up-to-date information.
How to Make FSSpec's
This should probably be somewhere else, but it's too useful to wait until I can figure out where that would be. (Note: I have only tried this in Python 2.3)
That's ALL! Don't muck around with FSMakeFSSpec or CFURL or any of that stuff. I found this [https://mail.python.org/pipermail/pythonmac-sig/2003-March/007459.html on the pythonmac-SIG list].