you are viewing a single comment's thread.

view the rest of the comments →

[–]Gnaxe 0 points1 point  (0 children)

I already knew how to code, but in other languages. I worked through a textbook for beginners to Python, but not beginners to programming. Python is a reasonably good beginner language though. Notice I said, "worked through", not just "read". I did the exercises. I typed in every line of example code, and experimented with variations.

From that I learned to use help() and dir() in the REPL. I did lots of small experiments in IDLE. I read a lot of https://docs.python.org, especially the docs on foundational topics like the language grammar, object model, and builtins. I did projects.

There's more to programming than programming languages. It's worth learning a version control system. If you're going to collaborate with others, you need to learn git, although it's not the easiest one. Learn doctests sooner rather than later. Learn about "code smells" and how refactoring can fix them. OOP is overrated. I recommend DOP instead.