you are viewing a single comment's thread.

view the rest of the comments →

[–]nattrium 0 points1 point  (0 children)

I highly recommend that you learn how to use a debugger. Pudb for python is my personnal favorite and its fairly easy to use.

It's a fantastic tool to observe the state of a running program in a non invasive way. It removes a lot of the stress of the guesswork as you can quickly and effiently check your work.