![textmate python 3 textmate python 3](https://static.tumblr.com/8crjt9n/nZclw7vgt/textmate.png)
The IDLE window should now show some text like this: Enter 2 + 2 at the prompt to have Python do some simple math.
![textmate python 3 textmate python 3](https://quantatrisk.com/wp-content/uploads/2013/11/ed31.jpg)
On Ubuntu, open a new Terminal window and enter idle3.Ī window with the > prompt should appear that’s the interactive shell. On OS X, select Applications ▸ MacPython 3.3 ▸ IDLE. On Windows, open the Start menu, select All Programs ▸ Python 3.3, and then select IDLE (Python GUI).
![textmate python 3 textmate python 3](http://blog.schockwellenreiter.de/2017/11/images/utf8python27-b.jpg)
You run the interactive shell by launching IDLE, which you installed with Python in the introduction. You’ll remember the things you do much better than the things you only read.Įntering Expressions into the Interactive Shell Using the interactive shell is great for learning what basic Python instructions do, so give it a try as you follow along. This chapter has a few examples that encourage you to type into the interactive shell, which lets you execute Python instructions one at a time and shows you the results instantly. Like a wizard-in-training, you might think these concepts seem arcane and tedious, but with some knowledge and practice, you’ll be able to command your computer like a magic wand to perform incredible feats. You will, however, have to learn some basic programming concepts before you can do anything. Fortunately, you can ignore most of that you just need to learn enough to write some handy little programs. The Python programming language has a wide range of syntactical constructions, standard library functions, and interactive development environment features. Lesson 2 - Expressions, Data Types, & Variables