1. As for Python, I don't know much about choosing this language as a second language to learn. It's also a coincidence, no brain impulse bought a python programming (from getting started to practicing)
PS: The author of the book is very hanging Oh, is a 5-year-old began to learn programming American uncle.
2. About Python i downloaded it on the official website (http://python.org/downloads/), version 3.6.
Installing a successful dog is simple enough to verify that the installation was successful. Enter Python in Cmd to see the version number you installed. If any, the installation is successful.
3. About the IDE's selection. A language must have an efficient IDE if you learn it. Geany is recommended in the book. It's all right with the feeling. No lag in the sense of resource consumption is not high
4. First, start by outputting a hello,world!
Print ("hello,world! ") #注意这里后面结束不需要分号; And Python notes using the pound key # instead of//(and Java compared to the more humane, or not used to haha)
5. As for Python variables, the role of variables in language should be known to all. Various operations are inseparable from the operation of variables (objects), after all, an object-oriented language
result="eric! " #这里就声明了一个变量result, the value is eric!. There is no need to declare the type of the variable. Python will automatically make judgments. belongs to the weak type language, the name rule of course Hump international general, language Universal.
6. The declaration of the string can be in single quotation marks "" can also be used in double quotes "" and HTML language rules are similar, no difference
result="add message Queen Empress!" " #这里用了一个方法title (). Very image of a method. will display the initials in English, while Chinese will not change print(Result.title ())
Print (Result.upper ()) #upper () will display all caps in English
Print (Result.lower ()) #lower () all lowercase displays. Here, the function of the method in the name of the embodiment of the dripping, so that our beginner's partners can probably guess the function
The rest of the weekend, but also do not forget progress. In the study of Python. Send Bo to consolidate their own