Python Files worked well but now giving error in IDLE 3.2 -


i wrote python code 6 months ago on linux system. worked perfectly, installed idle 3.3 mac , i'm getting lot of errors "inconsistent use of tabs , spaces in indentation" invalid syntax: on print command etc...

does 1 have idea can wrong?

"inconsistent use of tabs , spaces in indentation" means indentation uses combination of tabs , spaces. change indentation tabs or spaces fix this.

in python 3+ print no longer keyword. it's function, have call so:

print("hello world!") 

with argument within parenthesis.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

java - Using an Integer ArrayList in Android -