Running Python Scripts

One of the most important skills you need to build as a Python developer is to be able to run Python scripts and code. This is going to be the only way for you to know if your code works as you planned. It’s even the only way of knowing if your code works at all!

This step-by-step course will guide you through a series of ways to run Python scripts, depending on your environment, platform, needs, and skills as a programmer.

You’ll learn how to run Python scripts by using:

  • The operating system command-line or terminal
  • The Python interactive mode
  • The IDE or text editor you like best
  • The file manager of your system, by double-clicking on the icon of your script

What’s Included:

Related Learning Paths:

About Darren Jones

Darren Jones Darren Jones

With 20 years as a teacher of music technology, Darren is keen to bring his skills to the Python table.

» More about Darren

Each tutorial at Real Python is created by a team of developers so that it meets our high quality standards. The team members who worked on this tutorial are:

Participant Comments

Robert Tonkavich on Dec. 14, 2019

Very Informative. And even though you think you know the topic, you learn something new or that you missed. Or misunderstood. Thank you for a Really Good Presentation. Clear and Concise.

DiscreteLoner on Aug. 6, 2019

Easy to follow and good for people that use difference operating systems.

Michael deVry on July 30, 2019

Thanks Darren. Clear and concise. Cheers!

johncyyoung on April 10, 2019

Thanks, enjoyed that, informative for beginner(me!) :)

« Browse All Courses