Python – Thonny

I know that some of you have struggled to get Python working at home, so let me introduce you to Thonny.

Thonny is a Python IDE for beginners, it has Python built in so no need for a seperate install. It has a lot of cool features that you may find useful. I am going to demo a few features (the following text is from the Thonny homepage http://thonny.org/ )

No-hassle variables.

Once you’re done with hello-worlds, select View → Variables and see how your programs and shell commands affect Python variables.

Variables table

Simple debugger. Just press Ctrl+F5 instead of F5 and you can run your programs step-by-step, no breakpoints needed. Press F6 for a big step and F7 for a small step. Steps follow program structure, not just code lines.

Stepping through statements

Step through expression evaluation. If you use small steps, then you can even see how Python evaluates your expressions. You can think of this light-blue box as a piece of paper where Python replaces subexpressions with their values, piece-by-piece.

Leave a Reply

Your email address will not be published. Required fields are marked *