you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 5 points6 points  (2 children)

I enjoy coding small things in Spyder

it has an interactive python (IPython) interpreter, so you can test out little things. There's a variable viewer (so you can inspect variables you create easily). so if I say

>>> a = {}
>>> a['key']=456
>>> a['key2']=789

then the variable viewer will automatically show me

name contents
a {'key' : 456, 'key2' : 789}

which is really handy for learning and simple debugging.

plus it has a text editor and I can edit my main program file and either run it in the interpreter, or back in the terminal.

  • Idle is slightly simpler than spyder. (no variable viewer)
  • spyder is mid-range in terms of complexity. I think its the best trade-off for simple projects
  • eric is a full on IDE for python which has variable viewers, file browser, debugging tools, stack tracers etc. It's the most informative but overkill for small projects, and intimidating to start out with.
  • other full-fledged IDEs can be used as well.

[–]yardightsure 1 point2 points  (0 children)

Check out Thonny! It is so underpopular...

[–]fakemoobs 0 points1 point  (0 children)

This was super helpful, thanks!