Join us and get access to thousands of tutorials and a community of expert Pythonistas.

Unlock This Lesson

This lesson is for members only. Join us and get access to thousands of tutorials and a community of expert Pythonistas.

Unlock This Lesson

Hint: You can adjust the default video playback speed in your account settings.
Hint: You can set your subtitle preferences in your account settings.
Sorry! Looks like there’s an issue with video playback 🙁 This might be due to a temporary outage or because of a configuration issue with your browser. Please refer to our video player troubleshooting guide for assistance.

Setting Up Python (Summary)

Congratulations! You now have Python installed on your computer.

In this course, you learned how to:

  • Install Python on Windows, macOS, and Linux
  • Open IDLE, Python’s integrated development and learning environment

Now that you have Python set up on your machine, you can start building projects and experimenting with your coding environment. If this is your first time using Python, you might want to follow along with Real Python’s guide to Interacting With Python. You’ll find more introductory material in the Introduction to Python Learning Path, one of Real Python’s many Learning Paths.

If you’re working through Python Basics, the Python Basics Book Learning Path will guide you through the exercises, quizzes, and other bonus resources in the book. If you’re not familiar with Python Basics, feel free to check out our book Python Basics: A Practical Introduction to Python 3.

If you’re just looking for the next steps to further set up your coding environment or to get to know IDLE better, you can take a look at these resources:

Best of luck on your Python journey!

Download

Course Slides (.pdf)

461.9 KB

Ian Christy on June 8, 2021

Well done, one nit, it might have been nice, just for completeness, in the ubuntu section, include an example using python3-pip to install a library.

David Amos on June 10, 2021

Hi Ian! Thanks for watching. Installing libraries with pip will be covered in a future course in the Python Basics series!

Simple and easy. I am working on an OSX 10.11.6 and first installation failed. As I am thinking of getting an iMac with the M1 chip, I looked into issues and installation, and found there is the python 3.9.1-macos11.0.pkg Universal2 installer for versions 10.9 upwards. That’s when it worked. In opening IDLE, I added a comment on the MacOS installation video. Basically, place IDLE on the dock.

UT on Dec. 9, 2021

I loved the simplicity with which you guided us across the isntallation. Whilst I already had IDEs setup on my Windows machine, I wanted to understand the concept of path which you explained precisely how I would like it. Thanks a ton David :)

Yuvaraj0807 on Dec. 16, 2022

Useful information. learning the path info and how to proper install in ubuntu

Khalid Ismail on June 10, 2023

Installation guide is very useful and gives an idea to explore python in coming chapters. Explained all in very easy steps.

solomon502 on Oct. 7, 2023

Very concise, practical and informative installation guide and instructions.

Martin Breuss RP Team on Oct. 9, 2023

Glad to hear that this guide is proving useful :)

Kirk Forsythe on Oct. 30, 2023

I have tried courses on Udemy, Cousera, LinkedIn and even YouTube. The resouces and videos always answer any questions I have, providing a fundemental understanding of the material. Well done! I have finally found my all encompassing Python resource! No more time wasting internet searches for information. Instructional video developers could learn a lot from revieiwing your teaching methods and content.

tracyelliott79 on Feb. 10, 2024

Good guide, very useful on how to install Python on your OS.

Robynlee McCandless on Feb. 25, 2024

Thank you. Very helpful for beginners with step by step point to install Python on my macOS.

thedavid2 on April 1, 2024

Excellent guide, concise and helpful

Become a Member to join the conversation.