Just getting started Python wants you to help
Reply content:
I just learned python3 for a month and share my learning experience.
Six months ago from a friend of the Daniel heard that Python is very good, always want to learn, but they are very lazy, did not do.
This winter vacation, I and several students began to plan to engage in a website, discuss what to write when I think of Python. (In the end we used Python, and then we used the web.py framework).
The first book I read in the winter vacation is the basic Python tutorial, and that one Daniel recommended to me, this book from the basis of Python, omitted some too detailed or too amazing Python features, focus on Python application. There are several chapters in the last chapter of the Python development case, it is useful for reference.
The first program I wrote in Python was Kingsoft's quick check-in procedure, referring to some other people's code, which was unknown to a lot of Python libraries, and began to be used at that time.
Then the school, while the beginning of ripe, just to choose classes, I used Python to complete the automatic lesson of a small program, silently opened for two weeks, really robbed to class but I do not want to go on the back =. =
Then NetEase to pay the summer internship, at that time, a blood, I reported the work of Python, a written test. This test has become a huge turning point for me, I found that I do not (really very catch the urgency ah, actually learned for 1 months, I think very Nuzhen to test). List derivation, lambda expression, adorner ... And so many I basically in the blank phase, I feel I write Python and write C, the incomparable ugliness, a little pythonic look like none.
Then I'm not happy, and it's almost one months, I go to GitHub or the Python community to see the code that someone else is writing, to think about other people's experience, and this is a time to sort out several blogs, all about Python. Some people say that learning how much programming language is not important, if a new programming language changes the way you think, that is really learned. For the first time I started to have the desire to pursue beautiful, cool code, so I learned to look at Python's features that are different from C, to functional programming, and then to use it. For example, now and then I'm going to implement a piece of code in Map/reduce, and occasionally I'll use Python's iterator, generator. In short this period of time, my study is by first observing other people's concise code and style, and then to study the characteristics of Python, and then to implement the application.
This period of time I will also turn over the Python "cookbook", which has a lot of small problems solution, it is useful for reference.
I feel that now I use Python as a normal tool has been skilled, the following stage I want to study more about object-oriented this piece of things. In fact, like Python I think the introduction, there is no need for other books, directly to see the document will be better, above are very comprehensive and standard of some things. After writing more practice, make some small programs, learn some common library, with good Python basic is no problem. More practice is very important, in addition to small programs, Python has a lot of web site to do open-source framework, learning to do a site is also good.
Python is a fast-growing language that is constantly changing, and if you love Python, you can go to a variety of communities to see the latest news. If just as a tool, with good is also very happy, the library is very convenient, basically can do anything you can think of the work, especially a lot of work to get C implementation is very troublesome, Python is very convenient. I recently engaged in a school mail processing project, unified a mailbox, teachers have notice to send to that mailbox, Python can automatically take out the mail to read into the database and then put on the website, these python can do.
If you go deeper, you can study Python's source code, or Python some library source code, are implemented by C.
------
The above are personal experience, I am a novice python ... CS 61A Fall 2013:structure and interpretation of computer Programs
1100 people of ultra-classes, all courses have video, all lab discussion synchronized sticky, with exams, the title master can keep up with the progress of the equivalent of not to pay UC high tuition to receive top 30 education Ah Python | Codecademy
The emphasis is on practiced hand as required. Should be quick to get started. Python Tutorials-Liaoche's official website
Python Getting Started Guide
Website recommend this: Pythontab:python Chinese developer Community Portal
Official documentation is good, see what you want to do, the web has some framework like tornado,flask. These github are open source to look at other people's code, Python library A lot of, know what to do with what the library is good, Python write script write crawler what is very fun
Getting started three-choice one
Fluent Python
Python Playground
Introducing Python:modern Computing in simple Packages
Recommend a relatively easy way to learn, books recommended "stupid Way to learn Python (third edition)", Video recommended FISHC forum "Small Turtle Python Tutorial", although not deep, but very can learn in. The only downside is that the author of the book, "The Stupid way to learn python," is Python2 's powder. Just do it.
Learning from practice is the best way to go, especially if there are other language bases. Although it is possible to start the process of writing a less pythonic, read more than write more.
The official document is the most important, basically the tutorial in the document after learning even if you get started, you can start to write some practical procedures. Each person's background is different, for completely novice and already have other programming language Foundation, each recommendation one I very much like.
1. Completely novice
I recommend learning python-Learn Python (5th edition) (photocopy) (watercress)
, published in July 2013.
The author's own background is different, the taste of writing carcass is also very dissimilar, for example, Dive into Python author, more like in
ShareHis own experience (developer origin of the author more of this kind, oh, suggest you look at this book author's own story, also very interesting) read such a book, the level of the reader itself is a bit of a threshold. For beginners, I would think that what is needed is a
TeachFor the purpose of the book, a speech will be rigorous, and will be "this place I do not understand, but also do not want to ask others afraid to be considered as small white" such questions explain the easy to understand.
Learning Python's author Mark Lutz is an experienced teacher on his website Mark Lutz's python Training Service
There is a reference to his background, excerpt a paragraph:
Mark Lutz is the most experienced Python trainer in the world. He had been teaching Python classes for years, and have taught some 260 sessions for 4,000 students in the US and abroad . His classes use instructional techniques which mirror those in he successful books, augmented by the immediate feedback a nd focus-enabling context that is only a live class can provide. From diverse corners of the software field, clients both large and small has chosen Mark Lutz ' s classes for their Python Training needs.
In addition to the sample program in this book, in addition to the variable name is not so pythonic and the comments are not too standard, each sample program is worth imitating, space is limited, for example:
class Person: def GetName( Self): if not valid(): Raise TypeError(' cannot fetch name ') Else: return Self.name.Transform() def SetName( Self, value): if not valid(value): Raise TypeError(' cannot change name ') Else: Self.name = Transform(value)