Be familiar with the Python language and learn how Python is encoded. Be familiar with the Python library and know how to find the corresponding module when you encounter the development task. Know how to find and get a third-party Python library to cope with development tasks. Learning steps
Install the development environment
If you are under window, go to download pythonxy to install it, then run Python and go to Python to explain the environment.
If you're under Ubuntu, execute: sudo apt-get install python, then run Python under the command line and enter Python to explain the environment.
Learning methods
As a mature developer, my habit of learning new things (assuming PYQT) is:
Search PYQT's official website directly with Google. Follow the official website's instructions to download PYQT. (If you are using Ubuntu to see if there are enough new versions in the Software Library), start reading the tutorials on the official website. While watching the tutorial, follow the tutorial using PYQT. If you find the tutorial is not comprehensive enough, Google search whether there is a corresponding teaching books can be seen. The sample is completed and a toy program is developed to check if you need to use the function. Start learning Python
I suggest that you follow the process of learning as well as above, first over the Python official documentation:
Http://docs.python.org/tutorial/index.html
Then do http://www.pythonchallenge.com/this site above the topic.
If the card is too long, you can look at the answer (Google Python challenge answer) and look at how someone else's coding is different from what you've done.
Small Project
Once you're done, you'll find that you're already familiar with basic python development. Then do some small projects. Here are some topics to choose from that are interesting to do.
Write a simple calculator/bookkeeping software/Minesweeper Game (interface with PYQT library)
Write a chat room site (with the WEBPY framework, jquery refreshes the new reply)
Write a crawler, get Douban all the users above the location of the map location distribution histogram (with lxml analysis, save data to SQLite inside, with Matplotlib drawing)
FAQs
Q: If you have a problem, where do I go for help?
A: Go to HTTP://GROUPS.GOOGLE.COM/GROUP/PYTHON-CN (need FQ) or http://stackoverflow.com ask questions.
Q: How do I find a feature in Python?
A: Look at the official documents. Http://docs.python.org/library/index.html
Q: How do I complete a task (such as writing a website) in Python?
A:google:python Write a Web site, or Google:python Web development.
Original: http://blog.csdn.net/androidzhaoxiaogang/article/details/8241584
A few tips for learning Python