From the course: Python for Students (2019)

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

Using the Python shell

Using the Python shell - Python Tutorial

From the course: Python for Students (2019)

Using the Python shell

- [Instructor] In this video, I'm going to show you how to use the Python shell. To get there, we're first going to open up IDLE. So let's go ahead and click on Applications, and then Python 3.7, and then IDLE. We can also access IDLE by hitting command space on your keyboard, and just typing IDLE. So I'll double click on IDLE, and the first place you'll land is called the Python shell. If you're like me, and your eyes get a little tired looking at a bright white screen, you can change that to a darker theme. I'm going to go up to the IDLE menu, click on it, click on Preferences, click on Highlights, and then go to this drop-down menu, and change the theme from IDLE Classic to IDLE Dark. All right, so just go ahead and click okay, and there you go. So first I'm going to make this window really big, and now, you can type Python commands directly into the Python interpreter, and it will immediately execute. Let's go ahead and give that a try, Let's type print and…

Contents