PythonWin 2 UNIX

Alan Gauld alan.gauld at bt.com
Thu Apr 5 11:36:45 EDT 2001


dsavitsk wrote:
> I wrote some code w/ PythonWin (ActivePython 2.0) and when 
> I tried to run it on FreeBSD (Python 1.5.2 / Idle .5) 
> I got syntax errors due to the '\r' on the end of every line.  
> Is there a way to stop this behavior from PyWin?

Its not really Pywins fault its a difference between Unix 
and windoze. Most Unix boxes that I've used have had a pair 
of commands:

dos2unix
unix2dos

that do the necessary conversions.

Alan g.



More information about the Python-list mailing list