[Python-au] Windows Python different than Linux Python

Wilson Afonso wafonso at gmail.com
Tue Oct 11 12:45:37 CEST 2005


On 11/10/05, Mike Dewhirst <miked at dewhirst.com.au> wrote:
>
> I wrote the scripts in Windows. Would they have \r\n line endings which
> are stuffing up the shebang lines??

That would be my bet. Try "vi -b test_regid.py", which should show you
the invisible end-of-line characters. If you see ^M all around, take
them out (at least from the first line).

-Wilson
--
Wilson Roberto Afonso        wafonso at gmail.com
http://www.netwhatever.com/



More information about the python-au mailing list