How to Learn Python?

Source: Internet
Author: User
Tags php basics django tutorial
I have learned the syntax, thread, and other things over the past two days. I have a rough understanding of pygtk and ctypes. Now I have found many modules? Next, I want to understand the module? What modules do you need to know? I have learned the syntax, threads, and things over the past two days. I have a rough understanding of pygtk and ctypes. Now I have found many modules? Next, I want to understand the module? What modules should I know? reply content: Actually, it is quite good upstairs.
In fact, it is very easy to learn a language. The key is the data structure and algorithm.
You will naturally learn quickly when you have the need to call some of their encapsulated APIs.
The scripting language is very convenient to use.
Threads are nothing more than concepts. They know how to share variables, understand the lock processing mechanism, and know how to use them,
As for the threads that need to be viewed, scripts generally seldom use multi-thread processing. They encapsulate the written content into their own modules for future use, which is also very convenient. For example, the emails I sent previously can capture images from webpages. These can also be used in the future. You can directly call the previously written modules, so I think it is quite convenient to use it ..
The same name is newbie (newbie). Let's talk about my python path:
  • At first, I liked python's philosophy and bought a "python learning manual", which gave me a brief introduction to python.
  • However, there was no actual requirement, but I only understood it. Later I used Django for my own website, and then I used Tornado for another website and studied Tornado source code, I can say I have a deeper understanding of python.
  • Later, I wrote some scripts on unix and used them myself. At this time, I felt that python was powerful and solved many practical problems.
  • At present, I often find some website vulnerabilities and use python to write some scripts to do some interesting things. At this time, we can say that we really fall in love with python. Simple and powerful.

Everyone follows different steps to learn a language, but the important thing is to follow your interest. You can search for python on the Internet to find your interest.
I hope you will fall in love with python, rather than learning a programming language.

---------------- Supplement -------------------
I recently read ruby metaprogramming and have never caught a cold in ruby's many symbolic syntaxes. However, this book is indeed a good book, whether you like ruby or not, it is of great help in learning dynamic languages.

---------------- Supplement -------------------
One year later, I had no 'love' feelings about python, But I was familiar with its advantages and disadvantages.
Currently, non-working languages are mainly scala. scala has problems and complexity, but it is indeed a good tool to improve productivity if it is manageable.

0. An appealer first

Learning a language in Python in minutes

1. Python development tutorial

Liao Xuefeng's big Python tutorial. I have seen one of the best Python development tutorials, including Python 2.7 and Python 3.

Address: Python tutorial-liao Xuefeng's official website



2. Some frameworks are generally used for Web development.

After reading Liao's big tutorial, you can use the open-source mature open-source framework for some practical projects. Django is a good Web development framework. Below are some good learning materials I have collected.

2-1) Basic Django tutorial

  • The liberated jiangge 01
  • The liberated jiangge 02 estate is under suspicion
  • The liberated man Jiang Ge 03
  • The liberated jiangge 04
  • Liberated jiangge 05 black noodle butler
  • The liberated jiangge 06 fake work
  • Liberated Jiang Ge 07

2-2) Django hands-on Program (Use Django to develop a blog):

  • Common django commands
  • Django development blog (1) getting started
  • Django development blog (2) template and Data Query
  • Django development blog (3) static files, from applications and custom
  • Django development blog (4) use of comments library and ajax support
  • Django development blog (5) markdown support, code highlighting, gravatar Avatar Service
  • Django Best Practices (Chinese Version)
3. Python practice project
  • Python Project Practice 1: instant tag
  • Python Project Practice 2: Good painting
  • Python Project Practice 3: omnipotent XML
  • Python project practice 4: news aggregation
  • Python project practice 5: Virtual Tea Party
  • Python Project Practice 6: Using CGI for remote editing
  • Python Project Practice 7: Custom announcement board
  • Python project practice 8: Using XML-RPC for Remote File Sharing
  • Python Project Practice 10: DIY arcade games
  • Python project practice 9: File Sharing 2-GUI
4. Other Useful Resources
How to get started with Python crawlers? -Answer from Xie Ke
Python Regular Expression Guide
[Dry goods] Python crawler/Text Processing/scientific computing/machine learning/Data Mining
Detailed description of Python WSGI

Last, http://www.the5fire.com/ There are also a lot of good learning resources. According to your statement, you have mastered the basics of python, but you don't know what to do later.
This is often the case when learning programming. I read all the syntax and there is nothing to do. You don't have to forget it after a while.
However, if there are people who want to learn together, the situation will be much better. You can discuss in which direction, what aspects to read, what teaching materials to learn, and what to do. You can even work with a larger project trainer.
You are welcome to come to our programming classroom for discussion. There are many beginners like you, and there are many directions for you to explore.
Crossin programming classroom
: Crossincode
QQ group: 295921816 tips for getting started with Python Tutorial: Python tutorial-liao Xuefeng's official website
From getting started to proficient, practical projects also include iOS apps
An online Python code interpreter is provided. It is a reference resource to quickly learn python by learning and Typing Code in a browser:
  • Official Document Tutorial: docs.python.org/tutorial/
  • "Dive Into Python", by Mark Pilgrim-www.pew.python.net/
  • "A Byte of Python"-swaroopch.com/notes/Python
  • Google's python getting started course (online)-code.google.com/edu/languages/google-python-class/
  • "Building Skills in Python", by Steven F. Lott-homepage.mac.com/s_lott/books/python/html/index.html
  • "Think Python: How to Think Like a Computer Scientist"-greenteapress.com/thinkpython/thinkpython.html
  • "Code Like a Pythonista: Idiomatic Python"-python.net /~ Goodger/projects/pycon/2007/idiomatic/handout.html
  • MIT development course 6.00 Introduction to Computer Science and Programming-Workshop
  • "Learn Python the Hard Way" by Zed Shaw-learnpythonthehardway.com
  • Python practice tutorial-pyschools.com
  • Getting started with python-beginpython.com
  • More tutorials-awaretek.com/tutorials.html
  • LearnStreet Python course: http://www.learnstreet.com/lesso...
  • For beginners: Codecademy
  • Beginner: Learn Python Programming Through Example
  • Python Screencasts-Neckbeard Republic-Bite-sized python screencasts
We recommend that you take a look at ALEX's PYTHON video. It's a good start. I just learned his video.

Http://edu.51cto.com/course/course_id-1139.html How to Learn python well? How to flexibly apply python?



Based on my learning experience, I have summarized the following ten points to share with you:

1) The first step to learn python is to go to Welcome to Python.org. Download a python version from the website. I recommend that you do not download an integrated development environment with IDE functions, such as the Eclipse plug-in.

2) After the download is complete, you can start learning. During the Learning process, I suggest you download some python Learning documents, such as pe into python and OReilly-Learning Python. You can learn the keywords, function, and mathematical expressions in python.

3) after learning the basic syntax, you can perform interactive learning. Python has a good interactive learning mode. For example in books, we can drill through the interactive platform and deepen the impression through exercises to achieve the purpose of learning and mastering.

4) after learning the above three steps, we have mastered the common methods, keyword usage, and function Syntax of python. Next, we can start to learn how to use common modules, such as OS, OS. path, sys, and string modules. We can familiarize ourselves with the functions in the interactive environment. If you encounter any problems with the use of the functions, refer to the built-in chm help file after python installation.

5) in order to better understand python, we can't just learn some grammar or api stages. In this phase, we can try to use python to solve some problems encountered in our project. If the project is not developed using python, then we can think about whether or not we can use python to create some tools available to the project team (utility). These tools simplify the tasks of project team members and improve our work efficiency. If there is no project, we can also find some questions to practice on our own.

6) After the above training, our python knowledge level must be higher and higher. Next, we will go further. In order to apply what we have learned and apply it to project development or product development, we must also learn the network and database knowledge that must be mastered in enterprise application development. The learning here is not just about the python language. If you haven't learned a lot about the network and database before, we can take this opportunity to study it.

7) Here, I think we can use and use python. Even if we forget the api usage, we can view the documentation to use the api in a short time. Next, what should we learn? That is, the design capability. In the process of learning the design capability, if the class and other object-oriented concepts are unclear, you can also learn or consolidate them at this stage. Just as an airplane designer designs an airplane by learning the model, we can also learn the design by learning the classic examples in the book. With the basic concept of design, we can design our program. In this phase, it is important for us to learn the concept of image extraction and design our modules by isolating the change points.

8) at this stage, we are getting started. In the next step, we need to quickly serve projects through what we have learned. In this phase, apart from the python built-in modules, we 'd better master some open-source frameworks widely used in the industry, such as twisted, peak, django, and xml. By using them skillfully, lightning development is achieved, greatly saving valuable time for the project.

9) You are already a python expert. At this stage, we will encounter some in-depth and specific difficulties in our work. In the face of these problems, we already have our own thinking direction and ideas. We often access the Internet to view the latest developments in python, the latest python technology and open-source projects. We can participate in the python forum and make some python friends in the community.

10) You are already a python expert. At this stage, you should be a python technology transmitter. From time to time, you can open lectures in the organization and spread your python insights on your blog. You will discuss how to help our colleagues solve their problems. You will give Welcome to Python.org The website provides your valuable suggestions and offers suggestions for the development of the python language.

There is no end to learning any knowledge, and there is no difference in learning python. After understanding the usage, api and framework of python, we must learn the design mode and development methodology.

PHP Basics
Webmasters gathering place php tutorial
The landlord can take a look at this, hoping to help you. This question should be how to learn how to program through learning python.
Learning programming cannot only learn grammar, but also need to learn computing thinking and programming ideas.

Read the article written by Huang ge.
How to crack the layer of python Programming
Article/pythonstudy. md at master · pythonpeixun/article · GitHub

Three languages: python2, php, and go
Article/jdstb. md at master · pythonpeixun/article · GitHub
A small piece of code illustrates the use of @ property decorators
A small piece of code illustrates the use of @ property decorators

Huangge python Remote Video Training Course
Article/index. md at master · pythonpeixun/article · GitHub

Yellow brother python Training Workshop video playback address
Article/python_shiping.md at master · pythonpeixun/article · GitHub
Diempython training _ python programming ideas 1.flv

Diempython training _ python programming ideas 2.flv

Diempython training _ python crawler. flv

Diempython training _ python training _ while loop. flv

Diempython training python training programming idea 3. flv

Diempython training python training function abstraction. flv

Diempython training python training class abstraction. flv

Diempython training python training nested functions. flv

Diempython training python training instance object. flv

Diempython training _ sublime text configuration. flv

Diempython training _ hello world. flv of tornado

Diempython training _ web. py hello world. flv programming these things is a truth. You don't have to remember anything. You'll naturally get started when you write something about the actual project, so you can find some practical project opportunities for yourself. After writing too much, you will naturally know how to study in depth in the next step.

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.