How to get started with Python and get started with python

Source: Internet
Author: User

How to get started with Python and get started with python

Learning any language starts from getting started (about 1 year) and reaches the proficiency level through continuous exercises (3 to 5 years). A few people will eventually be proficient in the language and become the best-ears learners, they are the top layer of the pyramid. Although everything is difficult at the beginning, a good start is half the success. Today I will talk about how to get started with Python. As long as the direction is right, you are not afraid of the road.

  Set Goals
When you decide to get started with Python, you need a clear and achievable goal in the short term. For example, after learning to find a job as a junior programmer with a clear goal, you need to understand the skills required by enterprises for junior programmers. The following are the requirements for a junior Python engineer I have found from lagu:

1. Familiar with Python and common Web development frameworks;
  
2. Be familiar with the use of at least one type of database, such as MySQL, mongodb, and redis;
  
3. Familiar with Linux operating systems and Common commands;
  
4. Good coding habits and document writing habits;

In addition to being familiar with the language itself, you also need to master a lot of associated skills, such as playing the NBA. You not only need to learn how to take a shot, but also practice a set of capabilities, techniques and tactics, and other things. Therefore, a common Python Web development engineer must master at least one Web framework, such as Django, Flask, and Tornado. To build a business system, you cannot do without the support of databases. In addition, you also need to understand the basic operations and Common commands of the Linux system, because the programs you write will basically run on the Linux platform in the future.
  
Next, I will introduce these aspects one by one.
  
  Python3?

Python3 official documentation: http://www.gooln.com/document/22338.html
  
Many new users are always entangled in learning Python2 or Python3, just like having steamed buns and steamed buns in their hands. They don't know which one to eat first. This tangle is totally an increase of troubles because they are in the same language, only a few local syntaxes are incompatible. Although most companies are still using Python2, it is an indisputable fact that Python3 gradually becomes the mainstream. After all, the latter has more advantages in performance, the official team is also pushing Python3. So you don't have to hesitate to select Python3. It takes up to one day to understand the special content in Python2.
  
  Development Tools
  
To do a good job, you must first sharpen the tool. The IDE (editor) for Python development is endless. I only recommend Pycharm and Sublime, and their learning costs are very low, find a tutorial on the Internet to get started with it. The ancient artifacts such as Vim and Emacs will be available later. In addition, 90% of your problems may be solved through Google and StackOverflow.
  
  Learning Resources
  
There are a wide array of online entry-level resources, and a good book can help you learn more. For a quick introduction to Python, refer to this Article in Learn Python in Y minutes. But do not be confused by titles. A language cannot be learned in just a few minutes. After reading it, you should have a preliminary impression on Python. After following the example, you have to choose A suitable entry-level tutorial. "A Byte of Python" is A recommendable book. Let's explain why I recommend this book.
  
The Chinese name of "A Byte of Python" is "concise Python tutorial". The latest version of this book is version 10th, which is based on Python3.5. Therefore, I am not worried about knowledge backwardness. Secondly, this book is well suited for beginners with a thickness of 152 pages, covering all the content of getting started with Python. It is much simpler than those of the 500 or 600-page big part books and can be completed in 2 weeks. The most important thing is that this book is free of charge. In the public account, Reply to "byte" and get different e-book formats from "A Byte of python" for free.
  
After reading this book, you should be able to design a simple program. I would like to recommend a book "Python learning manual" as an advanced study with more in-depth content. It is suitable for those who have certain programming basics.
  
For Web development, HTML, JS, and CSS must be well understood. As a front-end skill, you do not have to have a deep understanding. It is enough to write basic HTML code. In addition, you also need to understand the HTTP protocol (the graphic HTTP protocol is recommended). Currently, the mainstream Web frameworks include Django, Flask, and Tornado, each of which has its own characteristics. The Django documentation is rich, Flask is short and refined, and Tornado asynchronous concurrency. We recommend that you use Flask. We recommend that you use Flask Web development: Python-based Web application development practices.
  
Happy Linux Command Line is recommended for Linux. It is also a very classic entry-level mini book with no much theory or wide scope. The public account replies to "linux" for free.
  
MySQL only recommends a copy of "MySQL must know", a booklet with less than 250 pages, which is very practical and has no complicated theory. After reading this book, I will read the basic entry database.
  
  Last
  
Learning is a boring process. Without positive feedback, the enthusiasm for learning is easily suppressed, therefore, you should actively participate in related technical circles, try to answer new questions as far as you can, seek help from the experts in the circle, and be good at summing up what you have learned, share it with more people. Remember, 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.