 Welcome to Getting Started with Python for Complete Noobs with me, Tokyo EdTech. This video came about by a viewer question I got about an hour and a half ago, actually, and this person said, does this work with Python 3.102? If yes, which should I use, Python 3.10, or Idle Python 3.10? I don't know which is which, sorry I'm new. And so I just want to say thanks to Roblox Gamer, I guess is the name. It takes a lot of courage to ask a question like that on the internet, because people on the internet can be really, really rude. And I think about this question, it's a really good one because Getting Started is really challenging when you're first learning to code. Now, when I learned to code many, many, many, many years ago, it wasn't that hard to get set up because it was automatically in coding mode. So one of my first computers was Commodore 64. And when you turned on the computer, it looked a lot like this. You basically are in a programming environment. Now you could load things from the disk at this point, but the computer didn't do anything unless you had it on disk or you programmed it yourself. So you could do a little bit of basic, something like this is stuff we used to do when we were kids, a friend, let's say, Tokyo EdTech rules. And then I could go to 20, go to 10, enter and then I can run my program. You notice I'm already coding, I don't really have a choice. I gotta do coding where it doesn't do anything. If I hit enter and then just print over Tokyo EdTech rules over and over and over again. This is pretty cool. So if you ever have a desire to check out really old school coding, check out virtualconsoles.com, just googled and there it was. So what I wanna look at today is the following coding concepts. What is Python? What does it mean when I say I'm using Python? What is Idle? This person asked about Idle and Idle actually, I just googled it, stands for Integrated Development and Learning Environment. I did not know that. Where can I get these two things and do I have to use Idle? And so we'll talk about different code editor options, okay? So let's go ahead and get started. So I'm gonna take us back to the main screen. And the first question is what is Python? And Python is a programming language, that's it. It's a language that is very popular these days. It's used in education. I use it to teach my students. It's used in AI extensively. It's used in a lot of different areas. It's really powerful and has a relatively simple syntax compared to other things like Java. So if you're new to programming, you first need to download and install Python. Now chances are your computer may already have it. For example, I know Mac comes with it. I use Linux. So what you're seeing here is Linux and Linux comes with Python installed. I don't know about Windows. Maybe it does, maybe it doesn't. But long story short, you gotta go to python.org and go to downloads and choose your platform. So if you're a Windows user, you would click on Windows and you'll see latest Python release 3.10.2. That's the time I'm recording this video in early 2022. So you would just go ahead and download it. And I guess download it. Actually, no, that's not it. Sorry, it works a little differently on Linux. So you'll see here, interesting. So stable release is 3.9.10. Well, there's a lot of different options here. Chances are what you want is the Windows installer, probably 64 bit. That is my guess. I'm pretty sure that's what everybody is gonna wanna use. If you're on Mac, again, I teach at school, we use Mac, you go to the Mac page and then you'll see again, 3.10.2 and Mac OS 64 bit universal to installer. Again, this will change as they release updates for Python. So you need to download it and install it. However, that works on your particular system. Linux, usually just do it from the command line. Probably if you're a Linux user, this might not be, you probably already know us this stuff. So you've downloaded it, you've run it, you've run the installer, you've installed it and probably what pops up is this. At least for my students when they install Python, they end up getting the idle shell. This is the, what did they call it? Let's go back to that because I just learned it myself. Integrated development and learning environment. So this gives you, it says idle shell 3.8. So in my case, I'm running Python 3.8. Especially new people tend to get really crazy about the version numbers. Am I using the right version? Basically, any 3.0 version is probably gonna be fine for a new person. Even a 2.7 version, if you're new, it's not gonna make that big a difference to you. So don't stress about that. So what you see here is Python sort of, but it's the interactive shell. So if I go ahead and type something like print, you know, hello world and I hit enter, it runs it right there. So I'm actually running it and like as I click enter, it is actually running. So if I wanna do something like a loop for I in range, let's say five and then print hello, hello, and hit enter and enter. You can see where it just, as soon as I hit enter, it's executing the code. Okay? So as a beginner, this is, this is, well, as you're not a beginner, this is not what you wanna do most times. You know, this is good for just like testing out certain features and trying things as you go. So for example, I can go import turtle, turtle, and win equals, I think I'm just doing this for memory turtle dot, what's it's screen I think, enter. And then what you can't see on my second screen here is a little Python turtle graphics window. And then what I could do is I could make a little turtle bob equals turtle. Yeah, if you don't know what this is, don't worry, this is just an example. And then you see, there's my little bob character, trying to say bob dot shape. So what's cool about this is as I'm entering in and text and I'm hitting enter, it's actually showing me what I've done. So let's make bob into a turtle. So let's use a little turtle. And then we can say bob dot color. There's a lot of things we can do with the turtle module. I tend to like green. And you can see as you're typing, you get the results instantly. So if I say bob dot fd, I'm gonna go ahead and make a mistake and say bob dot gd, 100. And you can see you get a little error. Tells you turtle object has no attribute gd. What I meant was bob dot fd 100. And you can see bob moved forward 100 pixels. But this is not a turtle tutorial. So let me go ahead and close that. This is a python turtle tutorial and a little bit about idle. Just enough to get you started so that you can start following other tutorials. So let me go back to concepts here. So python, it is a programming language. Chances are you need to install at least the latest version. So you can go to python.org, install it, should be pretty straightforward. Idle is the integrated development and learning environment that comes with Python. At least it usually does. My Linux machine, I had to install it separately, but I know it comes with the Mac version because my students install it and it always pops right up. So Idle lets you code kind of directly like this, but we can also go, oops, let me go back to the main screens, all right, about that. But we can also go to file, make a new file. And now this is where we can actually start writing a program. So my first program, and oops, buy at Tokyo edtech. And so traditional programmer, first program is hello world, summation point. So if I save this, so first I need to save it. Again, this is, I'm on Linux, so this might look a little bit, you know, unusual to you. So I'm gonna save this. You can see I was already practicing it earlier. So I'm gonna save my first program, program two dot. The important thing is to save it as dot py. So you can see here pypy, I'm not sure what pyw is, but py, so hit save. And then you'll see here it says run or you can use the F5, you can actually hit run module. And you can see over here now, it popped up hello world. So it says restart home desktop workshop, blah, blah, my first program. And it ran over here. And again, if I make a mistake, and I forgot to close that, I forgot the parenthesis for example, save it, I'm gonna run it. I get an error, expected, unexpected EOF while parsing. And that is something you can learn about in a different video. So you can see it's just like a very lightweight, fast coding environment that comes with Python usually, and gets you started. So up to this point, if you've never done this before, you don't know what you're doing, this is where you can start, okay? You know, if you're gonna start watching a tutorial, like one that I've done, or one that somebody else has done, getting to this point where you can create a program, you can print something on the screen. This tells you that you've set up Python correctly. This tells you that you are ready to, you know, basically start coding and learning to code. I have a ton of like, you know, beginner tutorials on my channel, you can check those out. So going back to coding concepts. So what is Python? What is idle? Where can I get them? Python.org, we got that down already. Question I get sometimes is do I have to use idle? And the answer is no, you don't. You can use other, there are many, many, many, many other options. I put a couple up here, there's, oops, sorry, let me switch to the main screen. So there is something called FUNNY, and this is an IDE, Integrated Development Environment for Beginners. You might find this to be easier to use. And you can see there are Windows, Mac, and Linux versions, apparently. Yeah, there's Visual Studio Code, which is a great program, but it's, I find this one a little bit complicated, I think, especially for beginners. I did a video about why I use the one that I use, and you'll see that in a second. But this is a great choice as well. There's nothing wrong with it. It just can be a little bit complicated to get set up with this one, because it's, you know, kind of halfway between like a beginner thing and a professional thing. And the one that I use is called Genie. So Genie is kind of a lightweight program. It does all kinds of different languages. You see it has 50 different programming languages it has support for. I find this a really good beginner, good for beginners and good for some of the more advanced stuff you might want to do. So Genie looks something like this, that's Java. So let me go ahead and open up my program I just did, and that was on my desktop. And so my first program too, let's click open. And what's nice about this is there are different, where's it at? Tools, document, change color scheme. You can, there are different color schemes. There's like the default, which is kind of like what we saw before. Also gonna make sure that is. You can download other different, you know, themes, which I prefer a darker theme. And my students play around with that quite a lot as well. So this one, you have a compile button here. You have the run button here. If you click run, in my case it appears here. Sometimes it pops up in a separate window. But this is the one that I like to use. And there's also a sidebar. So like when you start doing stuff like, you know, name equals Bob. So you'll see variables will pop up here. How can I help you keep track of your code? So def go home, go home and you see where functions pop up and variables. Again, if you don't know what that stuff is, that's okay. But I think I find this program to be really fast and really effective. But again, if you're just getting started out, there's nothing wrong with using idle until you get used to some of the concepts. And then you start finding it's a little bit, yeah, you're just not being able to do what you wanna do with that. So anyway, that's about it. Basically, if you're just getting started, just to kind of recap, you wanna go to python.org, go to downloads, choose your operating system, download and install Python. Then basically, idle should be included. As I showed you earlier, you can just kind of get started, make your first program, follow tutorial. I've got a ton of them. There's lots of great YouTubers, they got a lot of great tutorials. And you know what, just have fun with it. Coding's supposed to be fun, it's supposed to be exciting. It can be frustrating if you're just getting started, but you just gotta power through it and get to all the cool stuff, okay? So yeah, thanks for watching. I hope this helps. Thanks again to Roblox Gamer for your question. Hope this video helps you out. I made it just for you. Take care, keep on coding.