nruddock opened this issue on Jul 14, 2007 ยท 39 posts
grichter posted Sat, 25 August 2007 at 7:47 AM
Total newbee to python...But I think the reference to os.name='mac' is for classic or Os9. for 10.+ or OSX I think it is 'posix'. I was messing around with some file path routines trying other peoples code and it didn't work until...A. printed the os,name and discovered it is 'posix'. B. edited the lines where required from 'mac' to 'posix' and it worked almost as expected. Granted total newwbee, so I could be 100 percent wrong. I no longer have a classic cpu to test this on as my newest machine is the intel chopped mac which can't run classic.
When I mean worked almost as expected...
Plus in early messing around, posix directory builds seem to me to like some variable + '/'+ filename vs what appears to be the wintel method of '' Again keep in mind I know about as much as you could put on the end of a pin head in regards to python.
If you use the '' method it appears it saves the file with a file name that is the entire file path runtimepsesomesubdirectorypose01.pz2 vs putting it where it is suppose to be with just the pose01.pz2 as the true and target file name.
Gary
"Those who lose themselves in a passion lose less than those who lose their passion"