python problems with dos lineendings in python-scripts
steve at holdenweb.com
Sat Oct 22 15:45:32 CEST 2005
> hi folks,
> i can not run any python scripts with dos lineendings under cygwin's python.
> if i run such a scripts i get stupid syntax error messages from python.
> what can i do to run these scripts without changing the lineending of these scripts.
> regards marco
The only time line endings will make a difference is if there's a
carriage return on the shebang line. If you run the script using
you should find that you get no problems at all.
Steve Holden +44 150 684 7255 +1 800 494 3119
Holden Web LLC www.holdenweb.com
PyCon TX 2006 www.python.org/pycon/
More information about the Python-list