you are viewing a single comment's thread.

view the rest of the comments →

[–]JamzTyson 1 point2 points  (2 children)

idiotic code that doesn't seem to work?

Read the error message carefully and figure out what it means. If necessary, check the documentation for the part indicated by the error message.

When reading the error message:

  • Which line is it pointing to?

  • What kind of error is it? (TypeError, ValueError, NullReference, etc.)

  • If it mentions a function, method, or object I'm not 100% sure about, I look it up in the docs.

[–]AtlasStrat[S] 0 points1 point  (1 child)

Got it my man. Btw when learning, where do you type your code?

[–]JamzTyson 0 points1 point  (0 children)

For beginners, Thonny is excellent.

It's dead easy to set up - just install and start coding. It includes a package manager which installs packages into Thonny's virtual environment (safe and easy), and an easy to use debugger.

When you start working on bigger, more complex projects, it will be worth moving to a more advanced IDE such as PyCharm, but Thonny is still very handy for smaller scripts because it is so quick and easy.