What is Python IDLE?
00:11 These are a class of applications that help you write code more efficiently. While there are many IDEs for you to choose from, Python IDLE is very bare bones, which makes it the perfect tool for a beginning programmer.
00:26 Python IDLE comes included in Python installations on Windows and Mac. If you’re a Linux user, then you should be able to find and download Python IDLE using your package manager. Once you’ve installed it, you can then use Python IDLE as an interactive interpreter or as a file editor.
00:44 Firstly, a brief note on the appearance of IDLE. While the functionality is the same across all three supported platforms, there’s an important difference in appearance. On macOS, the menu bar remains at the top of the screen rather than being attached to the application windows, as seen here on Linux
01:25 The best place to experiment with Python code is in the interactive interpreter, otherwise known as the shell. The shell is a basic Read, Eval, Print Loop, commonly known as a REPL. It reads a Python statement, evaluates the result of that statement, and then prints out the results on the screen.
01:43 Then it loops back to read the next statement. The Python shell is an excellent place to experiment with small code snippets. You can access it through the terminal or command-line app on your machine.
02:23 Python IDLE gives you the ability to create and edit these files with ease. Python IDLE also provide several useful features that you’ll see in professional IDEs, like basic syntax highlighting, code completion, and auto indentation.
Become a Member to join the conversation.