Hello, and welcome to my video that shows how to get started and install Python on Microsoft Windows. Okay. So, it's not too hard. We're going to both install Python 3, and we're going to install text editor. So, I'm just going to go into Google and I must type install Python 3, and my top link is downloading Python. There is my link for downloading Python 3.5.2. This version of my class uses Python 3. I have an earlier class that you may have seen that uses Python 2, but in this class, we're going to do this. Now, it might take you a while to download this. I have actually already downloaded it. Now, the other thing we need is a programmer text editor. You can really use any programmer text editor. We've used Notepad++ in the past. We've used jEdit in the past. I like Atom, atom.io, mostly because it works the same on Windows, and Mac, and Linux. But you can really use any text editor that you like, just don't use Word or text editor that comes with the operating system. You need a programmer editor that doesn't mess with weird characters or weird lines or strange formats. You must have a real programmer editor. So, I've already downloaded this as well. So, I won't waste the time waiting to download it, but let's go ahead and do the installation. So, these things ended up in my downloads file. So, I'll go to downloads, and I'll start installing Python 3.5.2. Now, it's going to ask me some things. Add Python 3.5 to PATH, and that's a good idea, install the launcher for all users. I'm going to add that, maybe you won't do that. It's going to tell me where it's going to install it, install now. Of course, it's going to ask me for permission to do these things. Now, it's running through the installation. Okay, so there we go. You could maybe click on this online tutorial on documentation, but we're just going to close this. I'm going to start and run the Windows command line. Now, you may have all kinds of fancy ways to run Python, but I like running the command line, C-O-M-M-A-N-D. I like running command line because after a while, it's important to know what folder things are being run in, and so here's this command line. I should be able to type Python here. So, now, I'm in Python 3.2. The chevron prompt here is the Python interpreter where it's asking for Python commands. I can say print hello world. Of course, this is what we tend to print all the time. I can make a mistake. I can say a little bit blue right and it will complain to me. Now, to get out of this, I can either type Control Z or quit. In this case, I'm going to type Control Z, and I'm back to the prompt. A couple of things, I can do a dir to see what folders and files I have and that is my desktop. Then, the cd command tells me where I'm at in the folder, that means I'm in the user's directory, Dr. Chu, okay? So, I have now installed Python. I ran the Python interpreter to verify it. I said print hello world. Okay. So, now, what I'm going to do is I'm going to actually install Atom. I already had this downloaded, so let's go ahead and install Atom on my computer. Okay, so Atom is now installed and it's kind of telling us what to do. I'm going to actually just close all these windows, close this window, close everything, and I'm going to create a file. I'm going to say print in this case. Let's see if I can make this bigger, I can make it bigger. So, I'm going to type print hello from a file, okay? I'm going to save this. I'm going to say file save as, and what I'm going to do is I'm going go to my desktop, and I'm going to make a folder on the desktop. We call this folder py4e. So, I now have a folder on the desktop, move this here, I move this here. I'm going to go into py4e, and then I'm going to name this file first.py. You'll notice that when I save this, its syntax highlighted it. That's one of the nice things about a programmer editor. Okay, and so it says oh it's got a suffix of.py. So, therefore, it knows that it's supposed to look pretty with Python and make this one color, make this another color. The other thing that you'll notice is they now have a folder called py4e. If I am in this command line, let me just start that up again, I'll show you how to start the command line again, command. Now, if I do a dir, I see the folders that I'm in. One of the folders that you can see here is the desktop folder. So, I'm going to say cd desktop, and then I'm type the dir command to see what folders are in the desktop. These folders are the same as these folders. These things are virtual folders, py4e is py4e. Now, I can type cd, which stands for change directory, py4e. I can do a dir and I see first.py, and that's the same as if I'm diving into this folder. Here's this file, first.py. Windows hides the suffix which is somewhat annoying and frustrating, but that suffix is there, that file is there. So, for me, one of the things you got to figure out in Windows is how to make sure that you are in the same folder, Users/drchu/Desktop/py4e, and that's the name of this file, and here as well. Now, I'm going to run this program. I'm going to type Python first.py, and you see that it ran the Python code, okay? Another way you can do this is you can type first.py. That's because this file association has happened in Windows. This doesn't work in Macintosh, this only works in Windows. That all files of.py are expected to be Python and it knows the Python interpreter where to run it, okay? So, I've got Python 3.0 installed, and that gets me started. So, I hope that this little introduction about getting things started and writing your first Python program has been helpful to you.