[Pythonmac-SIG] newbie

Chris Barker Chris.Barker at noaa.gov
Thu Mar 11 17:22:32 EST 2004


Kevin Altis wrote:

 >  If you're using Python 2.3.x I would think that the universal 
line-endings handling would work with all three versions on the Mac, but 
there might be problems with older versions.


Python can understand all three, but the Unix side of the mac can't, so 
you need to use unix line endings (/n) in your *.py files.

 >>> #!/usr/bin/python


If not, OS-X will only see this line, and the rest all on that same 
line. This could possibly be the OPs problem, as a matter of fact.

-Chris

-- 
Christopher Barker, Ph.D.
Oceanographer
                                     		
NOAA/OR&R/HAZMAT         (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov




More information about the Pythonmac-SIG mailing list