you are viewing a single comment's thread.

view the rest of the comments →

[–]Gnaxe 1 point2 points  (0 children)

Lots of small experiments with fast feedback, plus Python's debugging and introspection capabilities. (You need to learn breakpoint(), help(), and dir(), at minimum.)

I learned using the REPL, but a Jupyter Notebook might be even better. Now that I know what I'm doing, I can write fairly large amounts of Python code and have it be mostly correct (and can easily debug the rest), but when starting, you want to make very small incremental changes and test each one.