DEV Community

Discussion on: How and Where to learn Python

Collapse
 
matt profile image
Matt seymour • Edited

A couple of tips. Firstly,

  • My advice (for all programmers in any language) is to do the following; when you find yourself going down a rabbit hole.
    Regularly stand back from the code and ask yourself "there must be a better way".
    Get into a habit of asking yourself this with everything you do. It will help you learn and be a better programmers.

  • Python has a fantastic standard library and the devs who have written it over time have thought of many use cases and edge cases. There should be few instances where common problems cannot be solved within the standard library. Read the standard library and learn the common areas of this (its skill and knowledge for life). The standard library is very well documented and contains some examples (its very useful).

  • Just get stuck in; don't get caught up in courses and books. Courses and books are good (for basics), but no one has ever said "Oh, I solved this problem from a course I went on once". Just get stuck in you learn 10x more from experience and mistakes than courses and books.

  • Finally, have fun. As soon as it stops becoming fun take a break. We have all been there for hours to find it was a stupid mistake. "Regular breaks, break silly mistakes".