What should beginners learn about Python?

Source: Internet
Author: User
Learning any language is from the beginning (about 1 years), through continuous practice to reach the proficiency level (3-5 years), a few people can eventually master the language, become dominate, they are the top of the pyramid. Although everything starts out hard, the good start is half the success, and today this article will talk about how to get started with Python. As long as the direction is right, it is not afraid of the road.

  Set goals
When you decide to get started with Python, you need a clear and short-term achievable goal, such as learning to find a junior programmer to work with, and you need to understand what the company's skills requirements are for junior programmers, and here are the requirements for a junior Python engineer I'm looking for from the hook Net:

1, familiar with Python and common Web development framework;
  
2, at least familiar with the use of a database, such as MySQL, MongoDB, Redis and so on;
  
3, familiar with the Linux operating system and common commands;
  
4, good coding habits and document writing habits;

To do Python development in addition to familiar with the language itself, but also need to master a lot of related skills, such as playing the NBA, you not only to learn how to shoot, but also to practice strength, skills and tactics, such as a set of things. Therefore, a common Python Web development engineer needs to master the skills including at least one web framework, such as: Django, Flask, Tornado, do business systems without the support of the database, in addition, the basic operation of the Linux system and common commands have some knowledge, Because later you write that the program will basically run on the Linux platform.
  
Then I'll introduce each of these aspects
  
  Python3?

Python3 Official document Download address:
  
Many novice always tangled is to learn Python2 or Python3, like the hand has steamed buns and steamed bread, do not know what to eat first, this tangle is a total increase of annoyance, because they are the same language, only a small part of the local grammar is incompatible, although most of the company is still using Python2, but Python3 gradually become the mainstream has been indisputable fact that the latter, after all, the performance of the more dominant, the authorities are also pushing Python3. So do not hesitate to choose Python3 Bar, up to spend a day of time can be Python2 in the unique content to understand.
  
   Development Tools
  
工欲善其事 its prerequisite, do Python development of the IDE (editor) endless, I only recommend Pycharm and Sublime, their learning cost is very low, online find a tutorial to see the basic can get started, Vim, Emacs such ancient artifact or put it later to understand it. In addition, 90% of the problems you encounter in the future are likely to be solved by Google and StackOverflow.
  
   Learning Resources
  
Online access to a variety of resources, a good book for you to guide the maze. Get a quick look at Python and see learn python in Y minutes this article. But do not be confused by the title, a language can not be learned in a few minutes, after reading should have a preliminary impression of Python, after the example operation, you will choose a suitable introductory tutorial, "a Byte of Python" is a recommended book, To say why I recommend this book.
  
"A Byte of Python" in Chinese called "Concise Python Tutorial", the latest version of the book is 10th edition, based on Python3.5, so do not worry about the problem of knowledge backwardness, second, the book's thickness of 152 pages is very suitable for getting started, covering all the content of the Python primer , which is very streamlined compared to the five hundred or six hundred-page tome, and can be chewed out in 2 weeks. And the most important point, this book is free, in the public number Python Zen reply "byte" free to get "A byte of Python" in different formats of ebooks.
  
After reading this book, you should be able to design a simple program. Another book, "Python Learning Handbook" as an advanced learning, the content is relatively deeper, suitable for a certain programming basis for people to read.
  
To do Web development, HTML, JS, CSS must have some knowledge, as the front-end skills, not necessarily deep understanding, to write basic HTML code is enough, in addition, you need to understand the HTTP protocol (recommended "graphical HTTP protocol"). At present, the more mainstream web framework has Django, Flask, Tornado, each has its own characteristics, Django document Rich, Flask short, Tornado asynchronous concurrency. Recommended use of the Flask, recommended Bibliography "Flask Web development: Python-based Web application development combat"
  
Linux recommended "Happy Linux command line" is also a very classic introductory mini-book, not too many theories, the scope is not too wide, the public number reply "Linux" free access.
  
MySQL only recommended a "MySQL must know", less than 250 pages of the booklet, practicality is very strong, there is no obscures theory piled up, after reading the book Basic database of the introduction
  
   finally
  
Only reading can not progress, thinking and practice to grow, self-learning programming is a relatively boring process, if there is no positive feedback, learning enthusiasm is easy to be suppressed, so you should actively participate in the relevant technical circles, try to answer the questions of the novice in the circle, to seek help, Be good at summing up what you have learned, share it with more people, and remember that you are not fighting alone.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.