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 -- http://mail.python.org/mailman/listinfo/python-list