The so-called Master of the door to practice to see individuals, their own diligence is very important, but the premise is to have a good teacher led into the right door, can not take a deviation. Learning Python is the same, getting started is important, and I'll share the introductory experience of learning Python below.
1. Building the development environment
Http://www.php.cn/python-tutorials-157440.html
Basic syntax
In [All]: [(x, Y) for x in range (3) for Y in range (3)]out[42]: [(0, 0), (0, 1), (0, 2), (1, 0), (1, 1), (1, 2), (2), 1), (2, 2)]in [[]: [[x, Y] for x in range (2)-Y in range (2)]out[43]: [[0, 0], [0, 1], [1, 0], [1, 1]]
Http://www.php.cn/python-tutorials-157506.html
Building a Web development framework
Import Web urls = ('/hello ', ' hello ', ) class Hello (object): def GET (self): return ' Hello world ' if __name__ = = "__main__": app = web.application (URLs, Globals ()) App.run ()
Http://www.php.cn/python-tutorials-375814.html