python - Pythonwin - print function not working -


this question has answer here:

i'm running pywin32 build 216.1 , having trouble using simple print function - example:

>>> print 'hello!' 

should return:

hello! 

but instead get:

traceback (  file "<interactive input>", line 1     print 'hello!'                       ^ syntaxerror: invalid syntax 

it doesn't matter try , use print, gives me same error. able other things fine long don't involve use of print function. can help?

in python 3, print function, not statement. call like:

print("hello!") 

Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -