Hello, in this video we are going to cover setting up Python on a Windows machine. It's really simple go to your web browser, go to the website python.org and go to download, you can specifically go to Windows, but you'll usually detect what platform you're on. So just select the latest version. If you go to view the full list of downloads, you can download older versions as well if you specifically need an older one. And chances are, if you need an older one, you'll be Python two because a certain framework for example that require pi phi, and they're tested fully on the old version of Python aka Python two. So that's something to bear in mind if you need an older one, but we just want the latest one So download an executable for some 30 megabytes in size.
And we'll click on this so it opens up once it has downloaded. Now that it is known chain up, we Just need to install it. So we want to install the launcher for all users add the Python to the path as well. So what this allows us to do is if we are using other frameworks, little libraries of the applications that require pi fine, he can actually basically add it to the windows path. So for the external applications can use it. And we are all good to go.
So I'll just do the normal installation. And it doesn't take long at all. It just takes a few seconds. And once that's done, we'll just quickly cover how to actually run a piece of code in Python. So almost there, almost there. teasing us it's it's almost at the end installations, almost complete.
Okay, so setup was successful. So disable path length limits or change your machine configuration to a lab program, including Python to bypass the limits, you know, why not? We probably won't need that. But yeah, why not? Okay, so it's installed a bunch of different pieces that we want the ID array. So this is the theory that will allow us to run Python code.
So we're just going to create a new file, you can open up a file, you already have one, but I want to create a new file. I'm going to write in here, print. Again, this isn't a programming tutorial on how to code in Python. We'll have separate videos after this one, covering all the different facets of programming in Python. This is just to show you how to run Python code. Save on the desktop on the call.
Hello It's automatically detected the type. And the extension if you are curious is p void for Python. So now if we go to module, as you can see, it's printed out hello world. And that's it for setting up Python on a Windows machine. And thanks for watching. I look forward to seeing you in the next video.