First program

Phil H skilphil at gmail.co.za
Sat Jun 12 06:04:02 EDT 2010


On Sat, 12 Jun 2010 09:03:43 +0000, Phil H wrote:

> Hi,
> Trying my hand with Python but have had a small hiccup. Reading  'A byte
> of Python' and created helloworld.py as directed.
><snip>
> Any help appreciated
> Phil

Thanks Peter & Chris for your prompt replies.
The line ending was the problem.
The script was written using Gedit on Ubuntu.
Cannot find a setting in Gedit to set the line ending but it must be 
there somewhere so will keep looking.
Also how do you see or check the line endings of a file?

Thanks again
Phil



More information about the Python-list mailing list