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

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -