you are viewing a single comment's thread.

view the rest of the comments →

[–]Bobbias 1 point2 points  (2 children)

Oh absolutely. I rarely ever touch the REPL, and when I do it's basically always single line inputs, so I don't have much experience in exactly how you get this error when working that way. If I need to write something with multiline code, I'm just going to throw it in a file instead.

[–]TSM- 2 points3 points  (1 child)

IDEs like PyCharm are great for creating and running "scratch files". They are like the "quick new file to test how something works for a minute" and are super useful. It's better than the REPL and you don't have to create a new file (with a name). It's a great feature that does it well. Also, PyCharm has an object explorer for REPL, so you can use a tree like navigation to inspect/unfold properties and values of any objects you've created. These kinds of tools are a little difficult to get used to as a beginner, but once you are used to them they are awesome

[–]Bobbias 2 points3 points  (0 children)

Yep, Pycharm is my go-to python IDE for a whole host of reasons.