18 May 2011 16:30
Print does not work.
James Darlack <jmdarlack <at> gmail.com>
2011-05-18 14:30:21 GMT
2011-05-18 14:30:21 GMT
Hello,
I installed version 3.2 TK Version 8.5 on an XP system. Simple commands such as a 1+1 and others work OK. However, when I enter print "hello/n", I get the error message. I think there is a path or environmental name that is not set. Can you advise me how to fix this problem?
>>> print "hello World!"
SyntaxError: invalid syntax
>>> python -v
Traceback (most recent call last):
File "<pyshell#5>", line 1, in <module>
python -v
NameError: name 'python' is not defined
>>> python -V
Traceback (most recent call last):
File "<pyshell#6>", line 1, in <module>
python -V
NameError: name 'python' is not defined
--
James (Jim) Darlack
SyntaxError: invalid syntax
>>> python -v
Traceback (most recent call last):
File "<pyshell#5>", line 1, in <module>
python -v
NameError: name 'python' is not defined
>>> python -V
Traceback (most recent call last):
File "<pyshell#6>", line 1, in <module>
python -V
NameError: name 'python' is not defined
--
James (Jim) Darlack
_______________________________________________ IDLE-dev mailing list IDLE-dev <at> python.org http://mail.python.org/mailman/listinfo/idle-dev
RSS Feed