[Pythonmac-SIG] Rated X for (spot)

ryanwilcox@mac.com ryanwilcox@mac.com
Mon, 6 Aug 2001 10:46:25 -0400


I'm trying to make a set of scripts that will go back and forth between 
Classical Mac OS and OS X, using the Carbon Python. Now I have some 
questions:

#1: Is there a way to tell what version of 'mac' I'm on? os.name() 
doesn't help much... ;)

#2: Assuming I'm on X, is there a way to execute command-line programs? 
I found posix.execve(), but does this work on OS X?