3 ms·
Once you learn the basics, try just reading through your favorite open source project. I find it to be most helpful to read other people's code to get better at
by yan 18y ago
Once you learn the basics, try just reading through your favorite open source project. I find it to be most helpful to read other people's code to get better at understanding the innards of a language.
Also, make changes, rework it, add debugging info, go nuts! Reading and especially editing the code of others is a great way to learn a language, imho.
Just pick something that people accept as well-engineered or at least popular enough such that enough developers saw the code to make it correct and 'pythonic'.