[Pythonmac-SIG] MacPython - why doesn't it support .py files from Windows?

Chris Barker chrishbarker@home.net
Fri, 28 Sep 2001 10:39:30 -0700


Paul Miller wrote:

> When I try to import a .py file copied over from Windows (it has CTRL/LF at
> the line-ends), the parser complains about invalid line endings and will
> not import the script. Is this normal?

yep. Apparently a fix is in the works for future versions, but in the
meantime, you need to convert your files to Mac line endings, by any
number of methods...

-Chris

-- 
Christopher Barker,
Ph.D.                                                           
ChrisHBarker@home.net                 ---           ---           ---
http://members.home.net/barkerlohmann ---@@       -----@@       -----@@
                                   ------@@@     ------@@@     ------@@@
Oil Spill Modeling                ------   @    ------   @   ------   @
Water Resources Engineering       -------      ---------     --------    
Coastal and Fluvial Hydrodynamics --------------------------------------
------------------------------------------------------------------------