

The bottom half is your Shell, where you will see outputs from your code. The top section is your code editor, where you will write all of your code. Notice the two main sections of the window. You should see a window with several icons across the top, and two white areas: Now that you have Thonny installed, open the application. In this section, you’ll learn about each of the features of the UI that’ll help you use each of the tools in your Thonny toolbox. Your workroom contains a toolbox containing many tools that will enable you to be a rock star Pythonista. Think of Thonny as the workroom in which you will create amazing Python projects. Let’s make sure you understand what Thonny has to offer. Specifically, it has a built-in debugger that can help when you run into nasty bugs, and it offers the ability to do step through expression evaluation, among other really awesome features. Thonny is a free Python Integrated Development Environment (IDE) that was especially designed with the beginner Pythonista in mind.
#Thonny write a switch statement how to#
How to use Thonny to write and run your codeīy the end of this article, you’ll be comfortable with the development workflow in Thonny and ready to use it for your Python learning.

How to navigate Thonny’s user interface to use its built-in features.This article will discuss an awesome tool called Thonny that will enable you to start working with Python in a beginner-friendly environment. Watch it together with the written tutorial to deepen your understanding: Thonny: The Beginner-Friendly Python EditorĪre you a Python beginner looking for a tool that can support your learning? This article is for you! Every programmer needs a place to write their code.

Watch Now This tutorial has a related video course created by the Real Python team.
