November 15th, 2012, 04:13 PM
New to Python
Hi this code is in version 2.7 Python and I need it for version 3.2. Any ideas what I need to change to make it work?
Please only post if you can help, Ive just had to deal with someone in another forum who just couldn't get his head around the fact that a complete beginner might not know this.
Thanks for looking,
November 15th, 2012, 09:00 PM
Looks like valid python3 code to me. Critical issue is that in python3 print became a function whereas it had been a statement. Thus you need the parentheses denoting print function call.
[/code] are essential for python code and Makefiles!