I learned Python before the release of 1.5.2, so the things that were key to me then for me may not be important today.
This, as they say, is an important thing that understood me a little, but now I consider it decisive: many of the functionality that other languages do internally, in fact, become available as a standard library and built-in modules.
The language itself is small and simple, but until you are familiar with the built-in modules and the "main parts" of the standard library (for example, currently sys , itertools , collections , copy , ...), you will reinvent the wheel again and again. Thus, the more time you invest in familiarizing yourself with these parts, the more smooth your progress will be. Every time you have a task that you want to do, it does not seem to be supported directly by the language, first ask yourself: which built-in modules or modules in the standard library will make the task much easier or even do it all for me? Sometimes they will not be, but most often you will find excellent solutions based on this thinking.
Alex Martelli Nov 10 '09 at 19:07 2009-11-10 19:07
source share