Skip to content

Commit ab5aa40

Browse files
committed
Chapter 1 transcripts.
1 parent 3bedaa9 commit ab5aa40

14 files changed

+959
-0
lines changed
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
00:00 Hello, and welcome to 100 Days of Code
2+
00:02 in Python, written by Bob Belderbos,
3+
00:05 Julian Sequeira, and myself, Michael Kennedy.
4+
00:11 Maybe you're wondering what is this #100DaysOfCode.
5+
00:15 You've probably seen it all over social media.
6+
00:17 In fact, it's really, really taken off
7+
00:19 and people are finding this concept of
8+
00:21 100 days of code really powerful
9+
00:24 for getting them to focus over a long time
10+
00:26 to actually get over the hump,
11+
00:28 and become capable developers,
12+
00:30 or maybe learn a new language, like, say, Python.
13+
00:33 Here's an example of what you might see on Twitter.
14+
00:35 Rene Sanchez says, "Day 11. #100DaysOfCode progress.
15+
00:39 Today I worked some more on bite 18.
16+
00:42 Find the most common word from codechalleng.es/bites."
17+
00:46 This code challenge platform they're referring to
18+
00:48 is actually from your co-authors, Bob and Julian.
19+
00:51 We'll talk more about that later.
20+
00:52 Here's another Tweet: "Day Five of 100.
21+
00:55 Did some short exercises about modules.
22+
00:57 Imported modules, did a couple of my own.
23+
00:59 Tomorrow IO. #100DaysOfCode #Python."
24+
01:03 Way to go, Bricks.
25+
01:04 Here we have "Round one, day 101.
26+
01:07 Had to do an extra day due to
27+
01:09 one day off sick earlier in #100DaysOfCode.
28+
01:12 Today more Python debugging, tomorrow starts round two."
29+
01:17 And Jeff says, "Round one, day 19. #100DaysOfCode.
30+
01:20 Did three exercises in the book.
31+
01:23 Basically my average, been taking it slow
32+
01:25 these last few days. #CodeNewbiePythonIndieDevIndieGameDev"
33+
01:30 And finally, let's look at one more.
34+
01:32 Amit Kumar says, "#Day32. Another autowebcompat
35+
01:36 PR pull request, just got merged.
36+
01:39 Way to go, Python Tkinter, #100DaysOfCode."
37+
01:42 So he added some new feature or bug fix
38+
01:44 to auto Web Compat, very, very cool.
39+
01:47 So you've seen this stuff probably all over
40+
01:49 social media, Facebook, Twitter, and so on.
41+
01:52 What's it about?
42+
01:53 Well, this is actually a very structured project
43+
01:55 put together by this guy, Alexander Calloway.
44+
01:59 So Alexander, he was studying in business school
45+
02:02 but also wanted to learn programming.
46+
02:05 And he was having a hard time making progress.
47+
02:09 So he came up with this idea of #100DaysOfCode.
48+
02:12 Here's a quote from him: "The idea of
49+
02:14 #100DaysOfCode originally came from
50+
02:16 my personal frustration with my inability
51+
02:18 to consistently learn to code after work.
52+
02:21 I'd find other less involved activities to
53+
02:23 spend my time on, like binge watching a TV series.
54+
02:26 One of those days, I was sitting in a restaurant
55+
02:27 with my wife, and sharing my frustrations with her.
56+
02:30 I suggested maybe I should make the public commitment
57+
02:32 to learning for at least an hour every day.
58+
02:35 I thought it would go for three months,
59+
02:36 but it turned out 100 days was the right one."
60+
02:39 How about that?
61+
02:41 Well, thank you for creating this project, Alexander.
62+
02:42 This is really a great thing for many people
63+
02:45 getting started, and this is what this course is all about.
64+
02:47 We're going to give you lessons and exercises
65+
02:51 for every one of these 100 days.
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
00:00 There are a lot of things that people do
2+
00:01 to support each other and encourage themselves
3+
00:04 to stay focused and keep going on #100DaysOfCode.
4+
00:07 But there's really just two main rules
5+
00:09 and they're really really simple.
6+
00:11 The first rule is to code a minimum of an hour
7+
00:15 every day for the next 100 days.
8+
00:17 And I would say taking a coding class
9+
00:20 like learning the lessons in this course
10+
00:22 and then coding a little bit counts, right?
11+
00:24 You're immersing yourself in code
12+
00:25 for at least an hour a day every single day
13+
00:28 for the 100 days.
14+
00:29 And if you got sick, like you saw the person before
15+
00:31 had gotten sick, had to take a day off,
16+
00:33 that's okay you just add some days on the end.
17+
00:35 Have sick days and just move it to the end.
18+
00:38 The second rule is a public commitment
19+
00:40 to making progress and keeping with it.
20+
00:43 And they way that works is to tweet
21+
00:45 or to put onto somewhere like Facebook
22+
00:47 #100DaysOfCode with an update every day.
23+
00:51 The PyBytes platform actually is going
24+
00:53 to help you a lot with this, but however you want to do it
25+
00:55 it's code an hour a day and
26+
00:57 share your progress every day.
27+
01:00 Super simple rules, and we hope this course
28+
01:02 really makes this work for you.
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
00:00 We are going to cover so much
2+
00:02 content in this course, it's going to be amazing.
3+
00:04 You'll learn many, many different things over these
4+
00:07 #100DaysOfCode.
5+
00:09 In fact, there's so many I can't really
6+
00:11 enumerate all of them, it'll just take too long,
7+
00:14 but I do want to give you a quick sample
8+
00:15 into what we're going to cover.
9+
00:16 We're going to talk about collections,
10+
00:18 lists, dictionaries, working with them.
11+
00:20 We're going to test our code with pytest to make sure we
12+
00:22 build reliable apps.
13+
00:23 We're going to create games, Dungeons and Dragons style with
14+
00:26 classes and inheritance and object-oriented programming.
15+
00:29 We're going to deal with errors
16+
00:31 and proper error handling in Python.
17+
00:33 We'll do logging to keep a history
18+
00:35 of what our application has done.
19+
00:37 We're going to work with the popular exchange format
20+
00:39 called JSON, and it's a really great way to exchange data
21+
00:43 between Python applications and any web service.
22+
00:46 Speaking of services, we're going to learn how to call
23+
00:49 JSON based web services from Python,
24+
00:52 and if there's no service, can still go to the website
25+
00:55 and do web scraping.
26+
00:56 You can turn any HTML page, anything on the internet,
27+
00:59 into a data source using web scraping.
28+
01:03 Another source that we might go and consume, RSS feeds,
29+
01:06 really popular among blogs and podcasts,
30+
01:08 but also other types of subscriptions.
31+
01:11 We're going to use the Twitter and the GitHub API
32+
01:13 to interact with those services automatically from Python.
33+
01:17 Want to send an email?
34+
01:17 Maybe a new user registered for your site,
35+
01:20 well we'll see how to do that as well in this course.
36+
01:23 Excel has got to be the most popular database in the world.
37+
01:26 It's not really a database, but people use it like one,
38+
01:29 and you may need to program against it.
39+
01:31 Turns out, we have the trick for you right here.
40+
01:33 Want to automate something on the web?
41+
01:35 Go login here, navigate over there, click this button,
42+
01:38 make that thing happen.
43+
01:39 We'll see how to do that with something called Selenium.
44+
01:41 You want to write a web application, well we'll do that with
45+
01:44 something called Flask, it's probably the easiest way
46+
01:46 to write a web app in Python.
47+
01:49 SQLite is a database built into Python,
48+
01:52 it's what's called an embedded database,
49+
01:53 and you'll see how to program it, either directly,
50+
01:56 or from what's called an ORM from SQLAlchemy
51+
01:59 where you create these classes and you map them
52+
02:01 to objects in your database,
53+
02:03 so we'll have a couple of places where we talk
54+
02:06 about SQLite and relational data.
55+
02:09 Graphs are wonderful, they explain so many things,
56+
02:11 and so we're going to use something called Plotly
57+
02:14 and draw graphs for you,
58+
02:16 based on a set of data that you have,
59+
02:17 and typically when you're doing
60+
02:19 science like stuff like this,
61+
02:21 that's done in something called
62+
02:22 Jupyter Scientific Notebooks,
63+
02:23 and a good portion of this class will be presented
64+
02:26 in these notebooks.
65+
02:27 Not all of it, maybe about a quarter.
66+
02:30 GUIs and Python, they typically don't go together,
67+
02:32 but in this course, they do.
68+
02:33 You'll see in just a few lines of code that we can
69+
02:36 create a really powerful and cool GUI or
70+
02:39 desktop application, and this will run on all the platforms,
71+
02:42 Windows, Linux, and macOS.
72+
02:45 And finally, it's fun to consume APIs,
73+
02:47 but sometimes you want to build them,
74+
02:49 so we're going to actually take Flask and extend it
75+
02:52 to create our very own API and put that out on the internet.
76+
02:55 This is a ton of stuff right, isn't this exciting?
77+
02:58 Well, it's only a small part
78+
02:59 of what we're going to cover in this course,
79+
03:01 so I hope you're really excited,
80+
03:02 Bob, Julian and I definitely are excited
81+
03:04 to teach it to you, so let's get to it.
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
00:00 You've chosen Python for your #100DaysOfCode.
2+
00:03 Maybe you're a Python developer who has lots of experience.
3+
00:06 You just want to go through this
4+
00:07 whole challenge, and that's great.
5+
00:09 You probably already know the power
6+
00:11 and popularity of Python.
7+
00:13 But if you're just getting into programming,
8+
00:15 and you're coming here and saying,
9+
00:16 "Well, let's try Python for this 100 days.
10+
00:18 That seems like a great way."
11+
00:20 I want to tell you, you have chosen wisely.
12+
00:23 So check out this graphic.
13+
00:27 This comes from one of the best sources on the internet
14+
00:29 for popularity in adoption of technology, Stack Overflow.
15+
00:34 And the data scientists at Stack Overflow
16+
00:36 did some predictions and said, "Well, how are
17+
00:39 the various languages doing over time?
18+
00:42 Are they becoming more popular, less popular?"
19+
00:45 Based on their view into the industry.
20+
00:47 And they did this up to mid-2017, and then you can see
21+
00:51 the gray part where they're projecting out.
22+
00:54 One of these languages is unlike the others.
23+
00:57 It is just going up, and up, and increasingly up.
24+
01:01 Your other best bet is JavaScript, which is
25+
01:04 barely logarithmically going up.
26+
01:07 Java looks like it's topping off.
27+
01:09 The rest of them are going down.
28+
01:10 So if you're going to focus on something,
29+
01:12 pick one particular language.
30+
01:14 Pick the one that's got all the momentum
31+
01:15 and the popularity behind it, and that's Python.
32+
01:18 Now, you might say, "Okay, Michael,
33+
01:20 this actually is against all these
34+
01:22 older languages, C#, Java, and so on.
35+
01:25 What about the new languages like Go and Rust?
36+
01:28 They're probably even more amazing
37+
01:31 and more powerful, and growing quicker."
38+
01:33 Well, let's see.
39+
01:36 Yeah, they're growing up, they're going upward,
40+
01:38 not downward, that's really great.
41+
01:40 Swift is going up, TypeScript's going up, Go is going up,
42+
01:43 but they are nowhere near Python in this graph.
43+
01:48 I just want to leave you with these two pictures
44+
01:49 in your mind that Python is really a great place
45+
01:52 to put your energy and be learning.
46+
01:54 My rough rule of thumb here is I would like to
47+
01:57 bet my career on things that are going up, not down.
48+
02:02 So which one of these do you want to pick?
49+
02:04 Well, you're in a good place.
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
00:00 Let's take just a moment and talk about
2+
00:01 how you're going to experience this course.
3+
00:04 Yes, it is #100DaysOfCode,
4+
00:06 but it's not 100 different topics.
5+
00:09 What we've done is we've broken
6+
00:11 the course into three day segments.
7+
00:13 So day one, two, and three,
8+
00:15 days four, five, and six, and so on.
9+
00:17 So, for example, on day 10, we're going to
10+
00:20 introduce a new topic, teach you how to work with it,
11+
00:24 the ideas behind it, do some live code demos,
12+
00:27 and then after that, you'll get a chance to write
13+
00:29 just a little bit of code, 'cause you're going to
14+
00:31 spend a long time actually watching the videos.
15+
00:34 These vary, they would be between 15 minutes,
16+
00:36 maybe to 20, 25 minutes on average.
17+
00:39 There's a few that are really involved
18+
00:40 that go out longer than that.
19+
00:41 But basically, the first day of any three day segment
20+
00:45 on a single topic is going to be mostly learning
21+
00:48 about that subject, writing a little code.
22+
00:51 The next day is almost entirely writing code.
23+
00:54 We'll have a video for you, it may be just two minutes long,
24+
00:57 and we're also going to have in our GitHub repository
25+
00:59 instructions with hints and tips, and things for you to do.
26+
01:03 So you'll be able to follow along there.
27+
01:05 Then the last day is really about finalizing your code,
28+
01:08 maybe putting the polishing touches on the code
29+
01:10 that you wrote on day one and day two.
30+
01:12 Again, we'll probably have some instructions to guide you,
31+
01:15 but if you want to deviate, that's fine.
32+
01:17 This is your #100DaysOfCode.
33+
01:19 We're just here to support you along the way.
34+
01:21 So you can think of this course as 33
35+
01:24 three day journeys through it.
36+
01:27 And each one of those journeys will go through a particular
37+
01:29 topic: SQLAlchemy, Flask, Collections, whatever.
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
00:00 Hi, I'm Bob Belderbos, and I've been
2+
00:02 programming since ten years.
3+
00:04 And for the last six years, I've been using Python,
4+
00:07 which is now the language of my choice.
5+
00:09 I'm very excited to teach you Python in this course.
6+
00:12 We're going to cover a lot of angles,
7+
00:14 so be prepared to learn a lot of Python.
8+
00:17 These days I'm a web developer, software engineer
9+
00:20 at Oracle, and since end of 2016 co-founder of PyBites,
10+
00:25 together with Julian, where we blog about Python
11+
00:29 and do code challenges which we lately have
12+
00:32 transformed in a code challenge platform.
13+
00:34 We are super passionate about getting people to code,
14+
00:37 have a very hands-on approach
15+
00:40 and really want people to get to the next level of Python.
16+
00:43 And that's why we're so passionate about
17+
00:45 the #100DaysOfCode and this course
18+
00:47 because we get you to write a lot of Python.
19+
00:50 I'm honored to teach you Python
20+
00:51 and look forward to our journey.
21+
00:53 Hi everyone, I'm Julian Sequeira,
22+
00:55 and welcome to the course.
23+
00:57 I've been coding with Python for roughly two years now.
24+
01:00 I currently work at AWS, but surprisingly not with Python.
25+
01:05 Python is something I've taken up on the side,
26+
01:07 and something I'm super passionate about
27+
01:09 and absolutely love doing in my spare time.
28+
01:12 I'm co-founder of PyBites, along with Bob.
29+
01:15 And everything I do with Python
30+
01:17 is purely out of love for the programming language.
31+
01:20 And I'm totally looking forward to teaching you
32+
01:23 everything I've learnt over the past couple of years
33+
01:25 throughout the course.
34+
01:27 Hey, welcome to our course.
35+
01:28 I'm Michael Kennedy, nice to meet you.
36+
01:30 A little background on me,
37+
01:31 I'm primarily a web developer as well as the founder
38+
01:33 of the Talk Python To Me podcast and Talk Python Training.
39+
01:36 I've been a professional developer for 20 years,
40+
01:39 and I'm really excited to share that experience
41+
01:41 with you throughout this course.
42+
01:43 Welcome to the #100DaysOfCode and Python.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
00:00 Do you need a little help with the Python language?
2+
00:02 Of course, we'll cover much of the little details
3+
00:05 and definitely the advanced features
4+
00:07 as we go through this course,
5+
00:08 but we don't start from the absolute beginning.
6+
00:10 What is a variable?
7+
00:11 What is a loop?
8+
00:12 Instead, we've included a Python language primer.
9+
00:15 So when you look at Python,
10+
00:16 if it's, you know, a little fuzzy,
11+
00:17 maybe you've done it a long time ago, but you've forgotten.
12+
00:20 You haven't done very much of it.
13+
00:21 Well, we put something in here to help clear it up.
14+
00:24 So anytime you're confused about something in the language,
15+
00:28 just jump down to the appendix, Python Language Concepts.
16+
00:32 Find that thing, watch the one to two-minute video.
17+
00:35 Hopefully, that'll clear things right up.
18+
00:37 You'll find this at the end of the course.
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
00:00 We've made all the code we've written over our 100 days
2+
00:03 worth of topics available to you in GitHub right here.
3+
00:07 gitHub.com/talkpython/100daysofcode-with-python-course.
4+
00:12 You can go over here and check it out.
5+
00:14 This is also super important because some of the projects
6+
00:17 that you work on have either data that you've got to
7+
00:20 start with, or they've got some instructions
8+
00:22 and all of that you'll find here.
9+
00:24 Let's jump over to GitHub and have a look.
10+
00:27 Here we are at the GitHub repository.
11+
00:29 You have a little bit of a description here
12+
00:31 at the beginning.
13+
00:31 But the main thing you care about is the days.
14+
00:34 You can come in here and see the day one to three.
15+
00:38 This is the stuff with JavaScript.
16+
00:40 Here's day 13 to 15.
17+
00:42 This is our text-based games.
18+
00:44 Down over here is a Search API.
19+
00:46 Let's just check this one out and see what's in here.
20+
00:48 Here's demo that we built, and if you need the code for it
21+
00:51 you can see actually here's what we've written and so on.
22+
00:55 These three pieces work together.
23+
00:58 But what's most important is this ReadMe.
24+
01:00 It's automatically displayed by GitHub when you come here.
25+
01:03 You can see it talks about now that you've seen the videos
26+
01:07 what do you do?
27+
01:08 Here it talks about, okay, so you watch this.
28+
01:10 And the first thing on the day 43,
29+
01:13 that's the first day of these three,
30+
01:14 this is what we're going to do.
31+
01:16 On day two, it talks about working with API.
32+
01:18 It shows you how to use it with this thing called Postman.
33+
01:21 And then finally, it also shows you how to build your app,
34+
01:24 and then finally it says, okay, on the last day,
35+
01:26 we're going to make it even better.
36+
01:28 For the very grand finale, we're going to open it
37+
01:30 in a web browser if somebody picks something inside
38+
01:33 your application.
39+
01:34 You can see that as you go through you want to make sure
40+
01:36 that you go to each day, look at the instructions.
41+
01:39 They're going to be there to help you follow along,
42+
01:41 both the code demo we wrote as well as the steps and data
43+
01:45 that we put together for you.
44+
01:48 Of course, to download this, you'll want to download it.
45+
01:50 I would also say star and fork it if you have
46+
01:53 a GitHub account.
47+
01:54 You could either come here and copy this and Git clone it
48+
01:56 if you're familiar, or if you don't want to mess with Git
49+
01:59 you can just download the Zip file and it will
50+
02:00 be a folder you can unzip somewhere to work with.
51+
02:03 But definitely download this.
52+
02:04 You're going to want it locally.
53+
02:05 You're going to want to save it.
54+
02:07 You're going to use it throughout this course.

0 commit comments

Comments
 (0)