8/17/2023 0 Comments Install python windows 10How to install a simple editor in the form of Brackets. I hope that you found this a quick and useful instruction on how to install Python. And we're just recommending that you start with Brackets. Like I said you can use any editor that you like. And so that's pretty much just kind of getting started. So I can type here py hello.py to run Python and it will, and it will say hello world. But you see I'm in the account py4e, it's desktop and then the folder py4e, and I gotta file, hello.py. Yeah, okay, and my account name is py4e and my folder is py4e. So I did CDDES tab to get to desktop, and then I do a dir here and you see that I've got one folder named py4e. If I do a dir here, you'll see that I've got a number of files including a folder called desktop. If you're ever wondering where you're at and it's not showing the prompt you can type cd all by itself. So I'm in the working director users py4e. And if I'm here, in the command you're in a working directory. So if I go and I take a look at this folder, I will see that there is a file called hello.py. And then I'm going to go into that folder and name my file, Hello.py and now that I've called it hello.py with that suffix it actually does syntax highlighting. You'll notice it also shows up on my visual desktop as py4e. Now I'm going to go onto my desktop and I'm going to create a new folder. And now I'm going to save the file, file, save. Hello, world, of course, the first program. So I'm going to create a file, file, new, and I'm going to make this a Python, file, print. So we're just going to download Brackets here. So there's other ones that you can use but we're going to focus on Brackets. If you have something like this code installed and it's working for you, great, keep on going. You shouldn't use Word, you shouldn't use Notepad. Now, we're going to go on to our text editors. I'm going to say py- version because Python would hook us back up to that app store. So I'm going to go into the command prompt and check to see if Python is installed. And so I'm going to test to make sure that we've got it done. Now, we need to be an administrator account on this Windows to do this. We're going to go to and we're going to go into downloads and we're going to download Python for Windows. Today we're going to install Python on a Windows system and install a simple text editor and run a simple program. Hello and welcome to Python for everybody.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |