"Nick Burgess" <burgess.n...@gmail.com> wrote
I am trying to make this code work.  I don't have any experience with
defining things and this is my second program.  The error returmed is
"SyntaxError: invalid syntax"

Please post the whole error message, much of the useful stufff - like the location of the problem! - is in the earlier lines.

However taking a wild guess - are you using Python v3?

print "------ beginning to convert XLS to CSV ------"

If so print is now a function so you need to surround the string with ()

But  if you are not using v3, then please send the fuill error text.


--
Alan Gauld
Author of the Learn to Program web site
http://www.alan-g.me.uk/

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to