Thonny:įor learning purpose, Thonny is a free open-source Python IDE that provides a simple and easy to use interface, that works on Windows, Linux, and macOS. But for Linux, there’s only a command-line interface out-of-the-box. It has a simple built-in IDE that provides a graphical interface for Microsoft Windows. Python is the top popular programming language in 2021. Want to learn the popular Python programming language? Thonny is a simple and lightweight IDE to get started for beginners. To learn more about basic scripting with Python, you can read other blogs on this website with the category. Thanks for reading this blog until the end. Now on the search bar, search for the package and click on the desired moduleĬlick on the first option and click “Install “Īfter installing it, you will see something like thisĬongrats, you can now install a module on the Thonny IDE. In this tutorial, we are installing “ Selenium“. Remember that the package must be available on the PyPI Library. To install a new python module, first, click on the Tools in the Action Menu and click on “ Manage packages“. You can see that the assistant also suggests some edits to eliminate the errors. Suppose a small syntax error in the above code where we write “rang” instead of the range function. When you make a simple mistake and create a syntax error, the IDE will open up a new section in the program called the “Assistant”, which will suggest you possible solution for the error and the bug. Write the following code in your code editor and run it. Let’s try a more complex program for generating the Fibonacci sequence. This is a simple program to print a string. Write the following code into the editor and run by clicking F5 or the play button on the icon bar. How to write and run Python code in Thonny IDE? The icons tab allows some regular stuff to do faster, like creating a new file, opening an older file, saving the file, running the file, debugging for solutions, stopping the current process, etc.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |