Revision 18 as of 2006-04-18 23:33:57

Clear message

Much of this page is wildly out of date and/or wrong (a common problem with Wikis).

Please see [ 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)

   1 from Carbon import File
   2 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 [ on the pythonmac-SIG list].

Unable to edit the page? See the FrontPage for instructions.