The use of python3.3, Baidu has been checked because of the version of the problem. But I do not have a companion to study the document AH. Who can offer me a copy? How do you write Hello World under python?
Reply content:
After Python 3, print is already a function rather than a keyword. Please use the correct syntax:
print ("Hello World")
this may be one of the wrong decisions of Python
The compatibility of any good programming system with the existing code should be paramount. Linus has always been asking for Linux Abi/api, so Linux kernel has been a benchmark for open source projects for so many years. I just want to ask: Why not check the document?
rtfm!!! Compatibility is too silly. I'm a novice, too.
See is based on the 2.5 version of the win-write textbook,,, and then Ubuntu preinstalled on the 2.7 ... Win above I download is 3.3 .... So now win above learn.
Just press the textbook to write the first print program,,,, prompted me invalid syntax .... Do not look at this post,,, I will be depressed down ... T_T, I want to uninstall 3.3 ... Windows Server on the 2.7.3, the personal notebook with 2.7.5,linux slag slag unexpectedly comes with or 2.4 version, the migration headache died, this method does not support, that method to replace,, ah ah ah ah why not 2.X? Many of the newer versions of Python are now compatible with previous versions, and many open source projects still use 2.6 or 2.7, and the simple print syntax is different.