Google Python Class Day 1 Part 1. Introduction and Strings
пожалуйста, возвращайтесь позднее
пожалуйста, возвращайтесь позднее
PARLANTE: All right, hey there. Hey, good morning. Welcome to the PyQuick Basic Python Class. My name is Nick Parlante and I work in Google's engEDU group which deals with sort of technical training in engineering. And also I have a job at Stanford where I work as a lecturer. So, the Python today is — or rather, it's actually a 2-day class. So this class is about just the basic useful normal Python. And Python is sort of — you know, it's a nice friendly learn — and you can actually learn a lot of Python in two days. So, that's the good news. This is the class where the prerequisite is not — you don't need to be like super-expert engineer to come in here and learn Python. What we want is just that you have some experience in some language. So, like, yeah, you have some idea what a variable is or something like that. And then, and Python's going to meet you halfway on this. Python, like I was saying before, you know, it's a nicely designed language. It — a lot of things work pretty easily and so you can learn a lot of Python pretty quickly. So, this is a 2-day class. And what's going to happen is it'll be a mix of lecture and coding sections. I'll kind of alternate between the two. The good news or I guess the bad news or whatever; the news is that the class moves pretty quickly. So, I'll show few things in lecture and, you know, kind of demonstrate couple of things. And I want to get pretty quickly to you trying that in coding because, really, when you code it up, you know, that's when you're going to learn it. So, as I lecture through stuff, don't feel like — I don't want you to have the idea like, "Oh," — where you're memorizing or writing down everything that I say. So, [INDISTINCT] few here for a second, so there's a — for the PyQuick class, we have a whole set of written materials and here's the PyQuick page, it links all of them. And particular today, there's this one PyQuick Basics. And that's pretty much what we're going to talk about today. It's pretty long and it talks about strings and lists and modules and a bunch of things that I'm going to lecture about. So, my goal is in the lecture sections, just kind of pick up the basic idea of what I'm showing you. But don't feel like you need to memorize every detail of it. And then later, when we're in the lab section, yeah, you can go to the [INDISTINCT] packing it. You can go, "Oh, rightly, he said something about strings," you can sort of orient yourself a little bit and figure it out how this stuff works. So, there's also — I had, sort of — I printed some copies of this Basics thing but then I didn't make quite enough before class started, so I'll go get those when we're at the next break so I'll also give you a printed dead-tree version of this document for you to get started. Alrighty, so, let's just get started. So, Python is a — actually kind of an old language. It was created by a guy name Guido van Rossum, who actually works at Google, and it was created in 1990. So, I think about it as, like, a little bit old by, you know, hip language standards. However, in the most recent years, Python seems to have gotten a lot of momentums. It's becoming pretty popular. And I think it stems from — I get it, it's basically a pretty good language. I think of Python as being sort of a quick and light language. So, if I have some little tasks, some little automation, I just want to just dance, encode and be done. Python seems to work very well, like it's very, sort of, frictionless.