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

Unlock This Lesson

This lesson is for members only. Join us and get access to hundreds 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 the default subtitles language 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 see our video player troubleshooting guide to resolve the issue.

Running Python Code From a File Manager

Give Feedback

Learn how to run scripts by double-clicking on its icon in a file manager.Running a script from the file manager depends on many factors (such as the operating system, the file manager, execution permissions, file associations), this lesson will show you how to run a script on different platforms and what considerations to make before running the script.

horacionesman on April 12, 2020

Hi Darren,

First of all thanks for sharing this course, very useful for setting up solid foundations.

I have a question, I wonder why in Windows you didn’t open the file ‘hello.py’ using Notepad or Visual Studio Code? I hadn’t heard of Idle before, that’s a pretty nice tip.

Thanks!

Darren Jones RP Team on April 14, 2020

Hi. You could open up an a variety of editors (although I would avoid Notepad unless there was no other option!), but Idle is typically installed with Python and is cross-platform, so will be available regardless of the system you’re running on. I’m mostly using Code at the moment, but sometimes Atom, Notepad++, PyCharm or Nano.

horacionesman on April 14, 2020

Ok that makes sense, thanks!

Become a Member to join the conversation.