Latest / Talk Python To Me / #169: Becoming a Python content creator
Transcript
- 0:00Corey Schaefer has been building his YouTube channel of tutorials for many years.
- 0:03He recently has made the big shift from taking this hobby project and making it his full-time job.
- 0:09You'll hear about how Corey made that transition, what it takes to go pro,
- 0:13and even a little bit about the similarities between my work with Talk Python and his projects.
- 0:18This is Talk Python To Me, episode 169, recorded June 29, 2018.
- 0:24Welcome to Talk Python To Me, a weekly podcast on Python, the language, the libraries, the ecosystem, and the personalities.
- 0:44This is your host, Michael Kennedy. Follow me on Twitter where I'm @mkennedy.
- 0:48Keep up with the show and listen to past episodes at talkpython.fm,
- 0:52and follow the show on Twitter via at Talk Python.
- 0:55Corey, welcome to Talk Python.
- 0:57Hey, thanks for having me.
- 0:58Yeah, it's really great to have you here, another Python creator, putting out content for the whole world, huh?
- 1:03Yeah, actually, I've been doing that now for about only a few months, so I'm kind of new to it, but it's been fun so far.
- 1:10It's going to be an exciting ride for you, I know. You've been doing it for quite a while, and it's picking up speed.
- 1:14That's awesome, and we're totally going to dig into those sorts of things,
- 1:17but before we get to them, of course, let's hear your story. How did you get into programming in Python?
- 1:21So I got into programming probably a little bit later than most people that you talk to.
- 1:25I really started out, I went to Marshall University for computer science,
- 1:32and really that was one of my first exposures to computer science and programming in general.
- 1:36And I kind of just went and just chose a major.
- 1:39My dad was a computer programmer, so I chose that.
- 1:41But for the first few years there, I wasn't too passionate about it right off the bat.
- 1:45And it wasn't until kind of towards the end of my college career, I got an internship down at Kennedy Space Center in Florida.
- 1:52And a lot of people down there were super passionate about their jobs and loved what they did, and that kind of rubbed off on me.
- 1:59So whenever I went back from my last semester of college, I was really into it,
- 2:03and that's when I started doing most of my self-study and doing my own applications and things like that.
- 2:07That sounds so exciting.
- 2:08Like Kennedy Space Center, that is really cool.
- 2:11First few years I was born, like a few miles from that place, and I lived there.
- 2:15And it just seems like such a special place in both the tech science world and sort of in history in general.
- 2:22What was it like to work there?
- 2:23It was great, yeah.
- 2:24It was an amazing place.
- 2:26Even if you weren't doing programming, it was just an amazing place in general
- 2:29because there's so much that you can see and do there because you can just go out on the beach and watch a space shuttle launch.
- 2:36So I got to see a few launches, which was one of the coolest things I've ever seen in my life.
- 2:40And, yeah, and even just driving through the Space Center, seeing all the history, you can go to the old launch pads,
- 2:45and they're kind of – some of them are grown over with weeds and stuff now,
- 2:49but it's kind of neat to see where all this history was built.
- 2:52So, yeah, it was an awesome place to work.
- 2:53One of the things that kind of motivated me whenever I worked down there was, you know,
- 2:57I'd always put it on a pedestal in terms of people that can work there, which is true.
- 3:03I mean, you definitely have some of the smartest people walking around there, but at the same time,
- 3:08there's also so many average people there too who have just got there from studying over the years.
- 3:13And that kind of rubbed off on me that, you know, there's no reason I can't be here too
- 3:17if I start going and putting some effort into this stuff.
- 3:21Yeah, that's a really awesome lesson.
- 3:23I think that's a great lesson that, you know, a lot of people learn at different stages in life that, like,
- 3:29wait a minute, this seems so high level and so impossible, but I see a bunch of sort of normal people that just worked really hard.
- 3:36I could do that, right?
- 3:37That's a great takeaway, I think.
- 3:39Yeah, awesome.
- 3:40So what kind of programming did you do there?
- 3:42Whenever I was there, I was doing mostly some, I think I was doing C++, but I wasn't very good with C++ at the time.
- 3:50It was a lot of, and also I got, it was just an internship, so also I was getting, they used Linux systems,
- 3:56and that's one of the first times I'd use Linux.
- 3:57So I spent a lot of the time just kind of learning my way and navigating around and writing some command line applications for them to parse.
- 4:03I think we were parsing some XML files and things like that, but yeah, nothing too complicated.
- 4:09That's cool, but basically that experience.
- 4:11Learned a lot when I was there, though.
- 4:12Yeah, that's awesome.
- 4:12So that experience sort of inspired you to like, hey, this programming thing is actually pretty awesome.
- 4:18I'm getting into it more.
- 4:19Yeah, yeah, exactly.
- 4:20So yeah, whenever I got back from there, I had one semester left in college, and then after I graduated college,
- 4:26that's whenever I got my first programming job.
- 4:28Probably spent a couple years doing some stuff that wasn't necessarily things that, you know, knowledge that lasts too long.
- 4:36Like, for example, for a couple years, I was doing Adobe Flex programming.
- 4:40I don't think Adobe Flex is even around anymore.
- 4:42That was basically to build Adobe Flash applications.
- 4:45There was a time where that was like, you could get some seriously good consulting jobs, like at the early stages of interactive web.
- 4:54What is that, like 96, 97, 98 type frame?
- 4:58Gosh, that was not that long ago.
- 5:00I caught it on the very tail end of when JavaScript kind of replaced it.
- 5:05So it was probably around 2010, yeah.
- 5:07Okay, cool.
- 5:08Yeah, so only about eight years ago.
- 5:10And then, so after that, I got my first job where I really felt like I was learning some technologies that were going to be around for a while.
- 5:17So I got a full-time job as a front-end developer doing JavaScript programming, doing GIS web applications and mapping applications.
- 5:25And that was at West Virginia University in Morgantown, West Virginia.
- 5:30And from there, that's when I also got exposed to Python.
- 5:32We were building some back-end scripts using Python.
- 5:36And so that's whenever I wrote my first Python scripts.
- 5:39And so that was probably only about five years ago that I started doing that.
- 5:43And, yeah, I kind of fell in love with it.
- 5:45That's, I started, you know, compared to JavaScript, I was looking at Python.
- 5:49And I was like, man, this is a language that I can use to write scripts that move files around in my file system.
- 5:55Or I can write desktop applications or command line applications.
- 5:58And back in, there's just so much.
- 6:01It's such a broad language and so much that there is to tackle with it.
- 6:05Yeah, that's one of the great things.
- 6:06It's so broad, right?
- 6:07Yeah, exactly.
- 6:08Yeah, for sure.
- 6:08Awesome.
- 6:09And so you have what I would consider a slightly unusual job that you're doing day to day.
- 6:16So why don't you tell people about the big move that you've recently made and what you're up to now?
- 6:20So, yeah, about whenever I started learning Python about four or five years ago, that's whenever I started making YouTube videos.
- 6:26And it kind of sounds counterintuitive to say that I was making videos on Python while I was learning Python.
- 6:33But really, that's originally why I started making the videos was just to kind of solidify what I was learning and put that out for other people.
- 6:40I would just keep notes of any time I was learning something.
- 6:43If it wasn't exactly clear to me, then I would go back after I learned it and say, OK, well, why wasn't I understanding this when I went through it first?
- 6:52And is there a way that it could have been explained to me that would have made me understand it faster?
- 6:56So that's how I started making my first videos.
- 6:59And, yeah, so I've been doing those videos for about four years now.
- 7:04And I got a full time job working with Python out at the University of Colorado Boulder for about the past three years.
- 7:10And I was making videos pretty much the whole time on the weekends.
- 7:12And for the first couple of years, it wasn't it was basically just a passion project.
- 7:17It was stuff that I was doing and not making any money with it at all.
- 7:20I think after the first two years, I was looking at my earnings.
- 7:23I was making like less than a dollar a day after two years.
- 7:26So it definitely wasn't a money making scheme at the time.
- 7:28But, yeah.
- 7:30And then two years after that, it just kind of grows exponentially and got to the point where I started thinking, man, maybe I can do this full time.
- 7:39And a couple of months ago, I was able to do that.
- 7:42So, yeah.
- 7:42So, yeah.
- 7:43Now my day to day is now that I'm doing it full time, it really opens up a lot of time to work on larger courses.
- 7:48And because before it was hard working on the weekends to do a large course because it's really hard just to keep the continuity from weekend to weekend.
- 7:56And be able to know where you picked up or picked off and stuff like that.
- 8:01So, yeah.
- 8:01Being able to do it every day and be able to keep my mind where I left off last time and it really helps doing those larger courses now.
- 8:09That is awesome.
- 8:10Yeah.
- 8:10Yeah.
- 8:11So, yeah.
- 8:11The day to day basically is as far as work hours goes, it's pretty much broken up into either creating videos that I already feel comfortable teaching.
- 8:20So, that's videos that I'm ready to record right now and a lot of research for videos that I want to record but that I need to brush up on the topics first.
- 8:28And now for the past couple of months, I've also been spending a little time just learning how to do this as a business now.
- 8:34So, that's kind of the more boring stuff in terms of learning, picking out different health insurance and retirement plans and if I want to make a different account for taxes and boring stuff like that.
- 8:44Man, I was just juggling taxes earlier.
- 8:47I can very much relate.
- 8:49First of all, congratulations.
- 8:51That's an awesome move.
- 8:52Yeah.
- 8:52Thank you.
- 8:52Yeah.
- 8:53Yeah.
- 8:53It's been great so far.
- 8:54I'm sure you're really, really happy about it.
- 8:56I think this transition that you're talking about here is really tricky for people with computer science degrees or this sort of developer training because nobody teaches you about marketing, accounting, about business structures, about like all this stuff.
- 9:09You're like, wait a minute.
- 9:10How do I have a retirement account again when I don't have a company that gives me the 401k, right?
- 9:15Like, oh, yeah.
- 9:15A self-employed person, Ira.
- 9:17That's apparently a thing I need to learn about.
- 9:19So, you know, sort of what's that experience been like?
- 9:23That's probably been the hardest thing, yeah, in terms of just learning how to get the information out there.
- 9:28I've actually gotten – I'd say that a lot of that has been kind of lucky in terms of like I'll put out content that I think is good.
- 9:37And if it's good enough, a lot of it's been kind of free marketing from other people.
- 9:41So, you know, the Python weekly email list was big when it got on there a couple of times, and I really saw a lot of people come in from that.
- 9:49People posting posts on Reddit, and, you know, one of those going popular will bring in a couple thousand people here and there.
- 9:55And, yeah, so just stuff like that has really helped with marketing in terms of people just sharing the content online.
- 10:01As far as self-marketing, it's – yeah, that's been hard because I'm not a very good designer in terms of, you know, designing images for my courses and things like that.
- 10:10So that's been a lot of self-study just going through other online courses and learning how to create all that and put it out there on social media, making a Facebook and a Twitter and all that stuff to push that out to people who are interested.
- 10:25Yeah, and I feel like coming from the tech space that marketing feels a little dirty, almost shady, right?
- 10:31You're like, I don't really want to do marketing.
- 10:32Yuck.
- 10:32But at some point, like, if you were going to do these types of things that you and I are doing, you more or less have to go, like, okay, well, there is a positive side to – I'm trying to help people.
- 10:43I'm trying to spread the word about this stuff, but I have to go through these steps or nobody will come, right?
- 10:47It's not like the field of dreams.
- 10:49That would be lovely.
- 10:50But it really is, right?
- 10:51Yeah, that's been one of the hardest things is, you know, some people are so good at selling themselves and, you know, saying, you know, if you take this course, it's the best course out there.
- 11:00Trust me, and stuff like that.
- 11:01And it's been hard for me to kind of push stuff like that.
- 11:05Yeah, and I find, honestly, like a lot of times it's not, which is really rough, right?
- 11:09So you feel like, well, if I do the same thing, I'm going to be grouped in the same category.
- 11:13So it's a hard balance to strike.
- 11:15So I want to run an analogy by you with your NASA background and what you've just gone through.
- 11:21So people ask me sometimes, like, how do you get into these places, right?
- 11:25Like, I'm doing full-time my podcast and the courses, and you're kind of doing a parallel path in YouTube.
- 11:31And the story is very much the same.
- 11:34Like, I started the podcast, and I would record from 9 p.m. to 10 p.m.
- 11:38And then do the editing until 1 a.m.
- 11:40And then wake up and go back to work or do it on the weekends.
- 11:42You know, just squeeze it in whenever you can.
- 11:44And at some point, it gets good enough that you can actually put more of your time into just that, right?
- 11:51And so I think a good analogy for people who are thinking about these types of things is when a rocket takes off, you know, they talk about max Q, right?
- 11:59You familiar with max Q?
- 12:00I don't think so.
- 12:01What is that exactly?
- 12:02So max Q is the concept where when the rocket is taking off, it's accelerating faster and faster.
- 12:08And it's going through, like, the low atmosphere at high enough speeds that it's the maximum aerodynamic force on the rocket.
- 12:14Oh, okay, yeah.
- 12:15And as it's trying to break free, it gets harder and harder.
- 12:17It has to actually slow down.
- 12:18Like, they throttle down the engines for, like, a few seconds after, like, one minute.
- 12:21And then it kind of breaks through that, and it, like, takes off again.
- 12:24And so going through these processes is very much, I like this max Q.
- 12:28Like, the more successful that you get and you still have your job, the more work you've got to, like, double down.
- 12:34And it just gets harder and harder and harder until you get to the point where you can, like, break through that.
- 12:37And you're like, okay, now I can focus on the one thing.
- 12:40And the pressure, at least, of, like, trying to juggle everything lets up.
- 12:43Yeah, yeah.
- 12:44I think that's a great analogy.
- 12:45Yeah, that's, I'd say the hardest part of this whole transition was probably the last six months of work where I saw the goal line of almost being there in terms of being able to do it full time.
- 12:57And it felt like I needed, you know, a few more good courses to put out there.
- 13:00But, yeah, it was just a lot of work there combined with the work that I was doing full time.
- 13:05And it's, yeah, that's definitely the most stressful part is that last little bit before you actually do break through and go full time.
- 13:12Yeah, and probably, I don't know about you, but that last couple months when you sort of decided, but you're not quite ready, the motivation to keep doing your regular job well is hard to keep there, yeah?
- 13:23Yeah, you're just thinking about, you're just thinking about, okay, as soon as I get this in place, I'm going to be doing this other thing.
- 13:28And, you know, you're kind of out the door.
- 13:29It's really hard.
- 13:30So I do want to dig into some of your lessons and series and stuff, and we'll spend a lot of time on that.
- 13:36But I guess kind of while we're still on the subject here, maybe talk about, like, lessons that you learned in going through that process of going out on your own as a person working in, you know, sort of trying to teach people in the software development field and in open source and stuff.
- 13:50What went right?
- 13:51What went wrong?
- 13:52Like, what advice do you have for people?
- 13:53Well, one piece of advice I would have is that it has to be something that you actually are really passionate about and something that you enjoy.
- 14:01Because, like I was saying before, I've had a lot of people contact me just about, you know, kind of as the money.
- 14:08They say, hey, can I do this and make a lot of money doing this?
- 14:11I would love to.
- 14:11And you definitely can after some time.
- 14:14And I'm sure it's different for every person.
- 14:15But for me especially, if I was just doing it to make a living and just doing it to make money,
- 14:21I would have definitely given up in the first two years just because, like I was saying, I was making less than a dollar a day after two years.
- 14:26So if it was all about the money, then I would have, yeah, definitely given up way before it was actually started bringing in anything.
- 14:33So the first thing I would say is that it just has to be something that you actually enjoy doing and something that you probably would be doing in your free time anyway.
- 14:41And I really liked doing the videos and I liked the feedback that I was getting.
- 14:44So it was more about that than making money in the first place.
- 14:48So that would be my first piece of advice is just that, yeah, it has to be something that you're basically going to be doing anyways.
- 14:55So whether that's an open source project or a blog or, you know, making videos, anything like that.
- 15:00Yeah, I guess if you really want to make money, maybe just move to New York or London and just get a stock trading job automating it with Python or something, right?
- 15:08Yeah, yeah.
- 15:10If you're not going to love it anyway.
- 15:11Yeah.
- 15:12Other than that, if it's about if people are looking into getting into teaching specifically, one thing that I've kind of learned over the years that and it's kind of evolved, too, in terms of how good you are at it.
- 15:24But one of the best things you can do when you're actually teaching courses is and it's a skill that is kind of hard to come by.
- 15:30But you have to kind of be able to put yourself in the position of mentally of somebody who's seeing something for the first time.
- 15:37And that can be harder than people think.
- 15:39Because, you know, if you have all this experience and all this knowledge, it can be hard to actually, you know, remember what it's like to see this for the first time.
- 15:46And it's easy to skip over a lot of stuff and and not anticipate what kind of questions people ask or where people get tripped up.
- 15:52So if people are specifically looking into teaching, that's one thing that I would recommend, too, is just try to get better at putting yourself back in that position of of learning something for the first time.
- 16:01I think that is super undervalued.
- 16:04And you talked about how it was kind of counterintuitive that, hey, as I'm learning Python, I'm actually creating the videos.
- 16:10And I don't know about you, but one of the feelings I had was like, I really don't know enough to, like, put myself out there as an expert.
- 16:16But I know I can talk about these things.
- 16:19So why don't I just do that and, like, you know, see how it goes.
- 16:22Right.
- 16:22But I think this starting earlier in that process actually lets you connect with your students a little bit more.
- 16:30You're like, yeah, just last week, I couldn't get this thing to install.
- 16:33And here's what I actually had to do to make it work rather than, of course, you just, you know, do these other these few commands and it works.
- 16:38Right.
- 16:38So you're just you know, you're you're sort of the pain is more recent.
- 16:42And so you can help people.
- 16:44You can sort of have a little better empathy, I think.
- 16:46Yeah.
- 16:46And I think that's great advice, too, is not to be worried about putting yourself out there.
- 16:49It's hard.
- 16:50That's a hard stepping stone to get over.
- 16:51I definitely had that also.
- 16:52I definitely was making videos worried that I would get questions about things that I knew nothing about.
- 16:57And and but yeah, after you put out the first videos, everybody's real appreciative that you just are showing them anything that was a hurdle for you.
- 17:05Yeah, absolutely.
- 17:09This portion of Talk Python To Me was brought to you by Datadog.
- 17:12Get insights into your Python applications and infrastructures with Datadog's fully integrated platform.
- 17:18Debug and optimize your code by tracing requests across web servers, databases and services in your environment.
- 17:25Then correlate and pivot between distributed request traces, metrics and logs to troubleshoot issues without switching tools or context.
- 17:32Get started today with a 14 day trial and Datadog will send you a free T-shirt.
- 17:37Visit talkpython.fm/Datadog for more details.
- 17:40Let's talk about some of your video series that you have going on.
- 17:45Like you said, you have four years of videos and I didn't count, but it's many pages of little thumbnails.
- 17:50So it's quite the set of series and stuff that you put out there.
- 17:54And of course, we'll link to your YouTube channel.
- 17:55But let's talk about some of the series that you put together that you liked and we'll dig into them a bit.
- 18:01Okay, great.
- 18:02Yeah, sounds good.
- 18:03What's the first one you want to talk about?
- 18:04The most popular series on the channel right now is probably my object oriented series.
- 18:09I think that's my most popular video.
- 18:11I'm not sure how many views that has right now, but it's above all the other ones.
- 18:15I think that people enjoy the object oriented series because it's kind of taught a little bit different than some of the other courses that are online in terms of.
- 18:23So, for example, we show a lot of real world applications for what you're learning in that course.
- 18:29And by real world applications, it's not something that I put together that's a real world example.
- 18:33It's really actual code like in the standard library.
- 18:37We'll open that up and see like, okay, if we're doing like static and class methods, like so class methods can be used as alternative constructors.
- 18:45And so we'll open up the daytime library and see, okay, well, and for people who don't know what an alternative constructor is, basically it's multiple ways of creating an object or instantiating an object.
- 18:58So, you know, date times can be created by the default way as just saying, okay, I want a date that is the year, month, day.
- 19:03But you can also do, usually they start with like a from keyword.
- 19:07So from timestamp or something like that.
- 19:10So there's multiple ways to create a daytime object.
- 19:12And those are all class methods.
- 19:13So we open up the standard library, look through there and say, okay, well, here is a class method and here's how date time is using it.
- 19:19And this is, and it's doing basically exactly what we just learned in the course.
- 19:23And that kind of gives people confidence that, you know, there's millions of people using this code and the daytime module.
- 19:29So they know it's going to be something that is, that applies to the real world, what they're learning at the time.
- 19:34Yeah, that's cool.
- 19:35Certainly digging into the standard library code is a neat way of doing it.
- 19:39You know that it's been optimized for performance.
- 19:42It's been, like you said, used by countless numbers of people.
- 19:46It's pretty interesting.
- 19:47I think certainly class methods and static methods are, they're interesting in that they're almost the same, but not exactly the same.
- 19:55And so it's like, well, why would I use a static method over a class method?
- 19:59Do you have any thoughts on this?
- 20:01So a static method, yeah, static methods can be a little confusing because static methods don't take self or the instance or the class as an argument.
- 20:10They're basically, they're basically just regular functions.
- 20:13And so people don't really, so they have nothing really to do with like the instance or the class.
- 20:18It's really just, it could be a separate function almost.
- 20:22And people don't really know when to use static methods.
- 20:23But it's, it's really a function that, yeah, it doesn't operate on the instance or the class, but it does have a relation to the class.
- 20:31So like the example that I use in the, in the series is we're building like an employee object.
- 20:36And I'll say, okay, well, you might have like an is workday method, like to check, to pass in a date and see if that is a workday or, you know, something like that.
- 20:45So checking if something is a workday, it doesn't actually work on the employee instance or the class itself.
- 20:51It could be a separate function altogether.
- 20:53But it's kind of related to that, to that object in a way that it might be some functionality that you want to pass on whenever somebody input, imports your class that you created.
- 21:01So that's kind of what a static method is in the sense of why you might include that in an object or in a class.
- 21:08And yeah, the class methods are basically it's, you're working instead of passing in the instance, like a regular method, you're working on the class itself.
- 21:16So, and like I said, you can use that to set class attributes if you want, or a lot of people use them for alternative instructors where you can take in different arguments and then return that class with an instance of a newly created class.
- 21:29That's right.
- 21:30Almost like a factory method.
- 21:32Like if you're going to allocate an instance of that class in the class method, you need to know that it's not.
- 21:38If you derive from it, then you want to create the derived thing, not the other thing.
- 21:43But the fact that the class, the CLS thing is passed in, you could just sort of, you know, call that and get to the constructor.
- 21:48Yeah, exactly.
- 21:49Yeah.
- 21:49Pretty interesting.
- 21:50Yeah.
- 21:51Okay.
- 21:51So what else do you cover in the object oriented series?
- 21:53So we also do inheritance.
- 21:54So inheritance is another one where we kind of go through the lesson, but then we also open up the standard library and see how it's done.
- 22:01So I never knew how to pronounce.
- 22:03I never have actually heard this spoken out loud, but the work zoo library, the one that.
- 22:08It ships with a dependency of flask.
- 22:10Uh-huh.
- 22:10So yeah, we, we, we look in there and we take a look at their HTTP exceptions.
- 22:15And that's a great example of inheritance used well there because they have their base HTTP exception, which gives you all of this functionality.
- 22:25And then each higher level exception, like a 404 not found or a 500 internal error, they all inherit from that base HTTP exception.
- 22:33So they get all of that code for reuse.
- 22:36And then basically they just change like the status code in the method or in the message.
- 22:41So it's a, it's kind of a neat way of seeing how a real world library is actually using this efficiently.
- 22:49That's a really great example.
- 22:50And I think that's one of the places where inheritance makes tons of sense in Python.
- 22:55I'm, I'm a big fan of classes and inheritance, but I do feel like they can be a little bit overused in Python because sometimes it's just used for like grouping common behaviors.
- 23:04And we could just as well do that in a module with some module level functions or variables, just as, you know, much say like a class with a bunch of static methods, right?
- 23:14They're kind of almost equivalent.
- 23:16It's just different ways, ways of thinking, but around exceptions, like it really makes a big difference, right?
- 23:21Because in your accept various type, you use the inheritance to drive your error handling basically.
- 23:28Yeah, exactly.
- 23:29Yeah.
- 23:29So I really like that.
- 23:30That's awesome.
- 23:31Another one that I think is probably really popular in, in your set of videos is Python for beginners.
- 23:36Like we all want to, you know, maybe write the most advanced, like deep look inside of this aspect of saying like an ORM or something.
- 23:43But the truth is most people are just getting into Python.
- 23:47Like it's a growing field.
- 23:48So most people are coming into it.
- 23:50They're not looking for like that super internal deep dive thing.
- 23:53Right.
- 23:54So this beginner series is probably pretty popular.
- 23:56Yeah.
- 23:56The beginner series.
- 23:57I think that's my second most popular series on the channel behind the object oriented.
- 24:01And it's kind of funny because it took me a long time to put a beginner series together because originally I was only going to do videos where I didn't think that there was, you know, I thought that other tutorials were kind of lacking in and things like that.
- 24:16And there's so many good Python beginner series is out there that I wasn't really going to tackle that.
- 24:22And not only on YouTube, but just kind of everywhere.
- 24:25There's some great resources for learning Python.
- 24:27But I think a lot of people will, you know, just kind of get used to a specific instructor.
- 24:32And they, you know, even if you recommend a class elsewhere, they'll say, OK, well, you know, I'd really like, though, if you would teach it.
- 24:40And so so I put one together and gave in after a couple of years.
- 24:43And but, yeah, it's a popular course.
- 24:45So we go over, you know, just basic installation and how to set the Python path on Mac and Windows and Linux and things.
- 24:51That's where a lot of people get tripped up.
- 24:53And also so we touch on basically the data, all the basic stuff, data types, loops and conditionals.
- 25:01But once we get up to functions, we kind of try to tie all that back together.
- 25:05And again, we pull up.
- 25:08We basically write a function that that will check how many days are in a month given a year in a month.
- 25:15And that's basically a function that's already written in the standard library.
- 25:18I think that's in the calendar or calendar module.
- 25:21Maybe I can't remember exactly.
- 25:22But, yeah, we go through that and kind of learn or use everything that we learn to build up that function.
- 25:28And then when it's all said and done, we can open up the standard library there and see, OK, well, we just basically wrote a function that that a lot of people use on a regular basis.
- 25:37So so in that beginner series, I think it's really awesome that you actually start with import anti-gravity because that's both fun and instructive.
- 25:47Like, wait a minute.
- 25:48Why did importing a thing actually cause an action?
- 25:50Isn't that more of a declaration and not a behavior?
- 25:53Yeah, that's one of the more popular videos on there is where we go over imports and kind of show what the sys.path is and and how to append to that path.
- 26:02Or you can set the Python path in an environment variable.
- 26:05And also, yeah, the import anti-gravity is one part in that series where we say, OK, well, we're importing this module and it does something cool.
- 26:13It opens up our web browser.
- 26:14Let me interrupt you just for a second, Corey.
- 26:16Maybe not everyone has has actually typed import anti-gravity into their Python ripple.
- 26:22So if you're listening and you could do that, stop for a second and type import anti-gravity inside the Python ripple.
- 26:27If not, tell people what happened.
- 26:28Yeah, basically, it's kind of an Easter egg in Python in the sense that it's not super useful, but it opens up your web browser and just kind of sends you to one of the XKCD comics that is kind of talking about a little comic about Python on there.
- 26:43That's that's kind of funny.
- 26:45So, yeah, it's super, super easy.
- 26:47It's just import one line and then it opens up your browser and goes to that comic.
- 26:51I think it's really instructful, though, because it's instructful because when you talk about things like the pattern for, you know, if Dunder name equal equal may under main then invoke this behavior like that stuff doesn't really register with people coming from something like C++ or C#.
- 27:07You're like, wait a minute.
- 27:08What is this weird construct at the end?
- 27:10But this sort of going through this experience is like, oh, I see actually how functions and classes get defined and how things get imported and brought into my namespace and all these sorts.
- 27:21It's like really it helps to break the paradigm that is incongruent with Python.
- 27:26People come for this other languages.
- 27:28Yeah, exactly.
- 27:28Yeah.
- 27:29And it makes it super easy to like even if you're wondering how that imported code works, then I mean, you always have the opportunity in Python to just look underneath the hood.
- 27:39So if you want to, you know, see, OK, well, what is this module doing that?
- 27:43I just, you know, it's opening my browser and opening this comic book.
- 27:46But how is it doing that?
- 27:47So then you can go into the standard library and just look at the anti-gravity file.
- 27:52And it's basically two lines.
- 27:53It just kind of imports the web browser and then, you know, uses web browser dot open on that comic.
- 27:59And that kind of makes people feel like once they know how to look at that other people's code, they can say, OK, well, now, you know, now I've learned something here.
- 28:07So now if I want to open up a web browser to my own web page, then this is how you do it.
- 28:12So you can always dig deeper and look under the hood and see what's going on.
- 28:15I think that's another really interesting thing with Python as well.
- 28:19Yeah, that's a really cool way to kick things off.
- 28:21What else do you talk about in that series?
- 28:22After the so after we go through all the data types and conditionals and and for loops and everything like that, and then the importing and taking a look a little bit at the standard library in terms of, you know, how to how to do basic things with the standard library, like work a little bit with dates and the random module and the math module.
- 28:39After we do all that, it's kind of open ended after that.
- 28:43So I end the series at a nine part series after we learn how to import.
- 28:47And from there, I basically tell people, just like we were talking about before, how Python is such a broad language.
- 28:52And after you learn those fundamentals, you can pretty much take it anywhere that you want.
- 28:57So, you know, if like I didn't want to continue the series and, you know, teach them about file objects next, like it was the next, you know, obvious thing that people should learn.
- 29:07Really, after that, they can you know, if they want to learn how to work with file objects and they can do that or if they want to learn to work with a database and they can do that.
- 29:14So after that first nine videos, then it's kind of broken up to I kind of logically ordered the videos in a sense of what I think would be good to learn next.
- 29:23But I tell them that from that point on, they can basically skip around and and learn whatever specific subject they want to learn about.
- 29:29Yeah, that's one of the challenges of teaching Python is so many people use it for different things, right?
- 29:34Like some people may be learning it for data science.
- 29:36And so they want to learn all about, you know, that side of things.
- 29:39Maybe you're learning for web.
- 29:41So you got to learn about frameworks and databases.
- 29:43Maybe you're learning it for DevOps.
- 29:44And if you're in one class of people, you do not want to be learning about DevOps when you're trying to do data science.
- 29:51Like it's just like, you know, there's it's one of the real things that's making Python grow so fast is people coming from all these different disciplines.
- 29:59But it's really interesting to see different ways of working with Python.
- 30:03You know, you've got like the data scientists working with Jupyter Notebooks in this sort of exploratory fashion.
- 30:08I've got the web developers building like really structured architectured things with unit tests and code coverage.
- 30:13And it's kind of cool to have them all coexist.
- 30:16Yeah, exactly.
- 30:17That's also one of the challenge.
- 30:19Yeah.
- 30:19Like you were saying, one of the challenges with teaching Python, too, is, you know, whenever you say that, you know, Python, a lot of people kind of expect that you kind of know every aspect of Python.
- 30:28But, yeah, there's just so much so much to cover that.
- 30:32Yeah.
- 30:32If somebody.
- 30:33So, for example, my previous full time job, I was basically doing a lot of web service back end work.
- 30:40So, that's kind of why I started with the Flask course as my first course that I put together whenever I first went full time.
- 30:46But, yeah, and things like data science and machine learning are things that I want to cover in the future.
- 30:52But those are things that, you know, I'm going to have to, you know, buff up on myself because there's just so much there.
- 30:58And, yeah, so much to learn with it.
- 31:00For sure.
- 31:00I think that's an interesting segue to the next series that you put together.
- 31:04Because both with the podcast and with the courses that I'm doing, at some point it hits a limit of, like, I have totally tons of experience doing this.
- 31:13And I can just do this off the top of my head where it gets into the point of, like, you know, I've never actually dug into that aspect of what I'm trying to teach people or try to interview people about.
- 31:22And it becomes quite the research project, right?
- 31:25So, that was sort of the story with your Flask one, right?
- 31:27Yeah, the Flask series was the first one that I put together after I went full time.
- 31:31And I kind of made a mistake whenever I first did that because whenever I first quit, I kind of saw this huge chunk of free time.
- 31:40And I was like, okay, well, now I can start working on large series.
- 31:43But probably in hindsight, what I should have done is put together a lot of one-off videos that I could slowly release while I was working on that large series.
- 31:51Because, you know, a lot of people had found out that I went full time.
- 31:55But then it took me about a month of, you know, doing some research and putting together a blog that I thought, you know, had a lot of features that people would be looking for, like uploading profile pictures and an entire authentication system and setting password reset or email resets and stuff like that.
- 32:11And so, yeah, it took me about a month to, you know, research that and record it and edit it.
- 32:16And it came out to be about eight hours worth of content.
- 32:20And, yeah, so, yeah, that was one series that it's pretty popular.
- 32:25It kind of takes a Flask application and you can kind of see how an application like that will evolve over time.
- 32:30So, we start out just by, you know, using the default Flask that you can get from the documentation, the hello world, and just in a single file.
- 32:39And then build that up to where, okay, well, if something gets a little more complicated, then it's, we can't really hold it in this single file anymore.
- 32:46So, now we have to break it up into packages.
- 32:48So, then we start using packages to simplify imports and things like that.
- 32:53Oh, and to give credit where credit is due, where I learned a lot of that stuff with the imports and circular dependencies and things like that was from a lot of talks by Miguel Greenberg.
- 33:04He does, I think he's been on the podcast before.
- 33:06He does a great job with Flask applications.
- 33:09And he has a mega Flask tutorial that he put together that's, you know, more advanced than even the series I did on it.
- 33:15So, yeah, he does a great job with those.
- 33:16Yeah, Miguel's series was really cool.
- 33:18And I love the way that he sort of revamped it recently.
- 33:21So, yeah, I think your Flask series is quite interesting.
- 33:25And it's probably worth talking just a little bit about, like, how much time and energy does it take to put together one of these things?
- 33:32So, you said it took for eight hours of published content.
- 33:36It took you a month of full-time work.
- 33:38That sounds about right to me.
- 33:40But I'm not sure everybody who comes along understands how much effort goes into creating these short, relatively short little bits that come out the other side.
- 33:50And it really depends on what you're teaching, too.
- 33:53I mean, it's kind of similar to, like, as an analogy, I'd probably say it's kind of similar to, like, writing music or something like that.
- 34:00You'll hear interviews with certain people who say that, you know, it took them forever to just write this one song.
- 34:06And then a lot of people say that they just kind of sat down and it just started, you know, coming out and was everything kind of poured out in one session.
- 34:13And it's kind of like that with this.
- 34:15Like, sometimes it takes me longer to put some videos I can put together, you know, an hour.
- 34:21And it just I can record it all on one take and get there in no time.
- 34:25And then sometimes it just takes a while to get all these pieces together and make sure that I'm teaching it in a way to where I'm not, you know, repeating the same topics too much.
- 34:34And that they're that we're kind of touching on all the topics that people would want to learn about in terms of polished, finished application and things like that.
- 34:42So it kind of one of the things that took me the longest was just it's been so long since I've touched front end development that I wanted the, you know, I wanted the finished application to look nice so that people could have a nice application once they were done.
- 34:55So a lot of that time went into, you know, relearning some JavaScript and CSS.
- 34:59And that's not even stuff that we really touch on in the video.
- 35:02It's just a code snippet that I hand out and say, well, you can use this for the CSS.
- 35:07But even that took a while to put together just to make it look presentable.
- 35:10So, yeah, a lot of work, a lot of hidden work goes in that a lot of people don't see there.
- 35:14This portion of Talk Python To Me has been brought to you by Rollbar.
- 35:20One of the frustrating things about being a developer is dealing with errors.
- 35:24Relying on users to report errors, digging through log files, trying to debug issues, or getting millions of alerts just flooding your inbox and ruining your day.
- 35:33With Rollbar's full stack error monitoring, you get the context, insight, and control you need to find and fix bugs faster.
- 35:40Adding Rollbar to your Python app is as easy as pip install Rollbar.
- 35:44You can start tracking production errors and deployments in eight minutes or less.
- 35:48Are you considering self-hosting tools for security or compliance reasons?
- 35:52Then you should really check out Rollbar's compliant SaaS option.
- 35:56Get advanced security features and meet compliance without the hassle of self-hosting, including HIPAA, ISO 27001, Privacy Shield, and more.
- 36:05They'd love to give you a demo.
- 36:06Give Rollbar a try today.
- 36:08Go to talkpython.fm/Rollbar and check them out.
- 36:13Yeah, I agree.
- 36:14I think when you talk about the people who just – or the times in which you just sit down and stuff just flows out, you couldn't do that from scratch, though.
- 36:22That happens because you're kind of swimming in these ideas and in these spaces where this is like all around you.
- 36:28And then eventually it crystallizes in your mind.
- 36:30You sit down and it comes out.
- 36:32But if you just took a random person off the street, right, they probably wouldn't have that happen because they haven't been thinking about it for a month before they decided to work on it, right?
- 36:41Yeah, that's exactly right.
- 36:42Yeah, you definitely have to know the subject well before you sit down and do that.
- 36:46But yeah, that's – I'm sure you probably have the same thing with teaching courses.
- 36:49But I've got folders and folders of just thousands of ideas where I have kind of started writing videos and then stopped and then will start again.
- 36:58And then kind of whenever I'm actually ready to record it, I piece all those together into one finished course that finally comes out.
- 37:04But yeah, just even piecing those small pieces together and setting down over time and writing those, it takes a long time if you were to actually add it up altogether.
- 37:11Yeah, for sure.
- 37:12I have a Google Doc that I think has 63 full course ideas in it, 63 different courses.
- 37:20And I'll go back and I'll pull stuff out of there.
- 37:23But people are suggesting interesting new courses to me faster than I can – that list is growing.
- 37:28It's not shrinking even though I'm doing it all the time.
- 37:30I guess one final thing to round that out.
- 37:33Like I just saw a comment on Reddit saying about my 100 days of code course saying, oh, the course is only 17 hours of like polished edited video, right?
- 37:43Like how can this be for 100 days?
- 37:45I'm just like, you have no idea, man.
- 37:47You have no idea.
- 37:48You know, it also comes with like 80 hours of exercises.
- 37:51So there's your 100.
- 37:52But it took me, Bob Belderbos, and Julian Squira.
- 37:56It took us three and a half months each.
- 37:59Like that's a full year almost of one – if you did it as one person of just to come up with like that content.
- 38:05There's like some serious, serious commitments you got to make here.
- 38:09Yeah, I'm sure that, you know, the hours that are actually edited down when it's all said and done too.
- 38:13Like I'm sure you have the same experience.
- 38:15But like whenever I said that there was about eight hours of Flask finished content, that was edited down probably – I think those unedited videos before cutting out all the dead spots was about 22 hours of content.
- 38:29So I actually only end up using about a third of everything that was actually recorded.
- 38:35So yeah, it takes a while even to cut those down.
- 38:38Yeah, it's quite the thing.
- 38:39All right.
- 38:40So let's touch on the last two because they're both really interesting.
- 38:42One is decorators.
- 38:44I feel like decorators are quite mysterious to most people, many people in Python anyway.
- 38:49Now that's only one video, but it's kind of funny.
- 38:52I get a lot of comments in the comment section of that video that they say it's kind of like YouTube inception because it's – because in the decorators video, I basically say, okay, well, we're going to do decorators in this video.
- 39:04But if you haven't learned about closures yet, then you might want to go watch my closures video.
- 39:08And then in the closures video, I say, well, okay, we're going to learn about closures here.
- 39:12But if you haven't watched my first class functions video, then you might want to go watch that first.
- 39:15So people kind of get down this rabbit hole.
- 39:18But yeah, after – so yeah, first we kind of teach people about first class functions and what that means.
- 39:23And basically that means that you can just pass a function around like any other variable.
- 39:28So if you can set a variable equal to a function or you can either execute the function and set it to the return value or you cannot execute the function and just set it equal to that function ready to be executed.
- 39:41And then when it comes to closures, you kind of use that same concept where you can return.
- 39:48So within a function, you can return an inner function waiting to be executed.
- 39:53And that inner function will kind of remember the context in which the first function was run.
- 39:59And then decorators builds on that to where you actually pass in a function and add functionality dynamically.
- 40:06So yeah, I mean I can totally understand why it's a confusing subject.
- 40:09It took me a long time to wrap my head around it too.
- 40:12So yeah, it's confusing just in terms of how much is going on and you kind of got to piece these things together.
- 40:19And even after I've taught that video, you still run – and I'm sure this is like this with everybody.
- 40:26But if you're reading someone else's code and you run into a complicated decorator, then you kind of got to sit down and be like, okay, let me map all this out here and see exactly what's going on.
- 40:38It's definitely not super intuitive, but it's very useful once you have that down.
- 40:43Yeah, it's definitely useful once you learn it.
- 40:45But yeah, it's a bit of a mind-blown sort of thing.
- 40:49The last series or video that you talked about is something I've been thinking a lot about lately as well is how to volunteer your skills as a software engineer.
- 40:57And I feel like software engineers are almost modern-day magicians.
- 41:02So much of the world is technical or interacts with technology and devices.
- 41:08And we're the people who can kind of wave the magic keyboard and then something comes into existence that solves one of these problems or something along those lines.
- 41:18We have the skill to do that, right?
- 41:20And so how – if you see problems where you're like, well, these people just knew a little programming.
- 41:24This would just not be – this could totally change things.
- 41:28What do you talk about in this one?
- 41:29So yeah, that video, it's – that's a video that I did several years ago.
- 41:34And it's a video that I really like a lot, but it's not very popular.
- 41:38And I think the reason it's not very popular is just because I think when I released that video, I only had like a few hundred subscribers.
- 41:44And it's not very often that people go back years to see what videos I was making back then.
- 41:49So that's one that now that I have a larger audience, I think I'd like to remake that one.
- 41:53But yeah, in that video, I basically talk about when people think about volunteering, they – especially as software developers, you might not think that you can actually volunteer using your skill set.
- 42:05You might think that you have to do something else.
- 42:07But yeah, there's tons of things that people who have a tech background can do.
- 42:11So one of the first things I mentioned is at senior sitters or assisted living homes, you can go in – and this isn't exactly software related, but you can go in and just show people how to set up emails or connect to Wi-Fi.
- 42:27Because it's kind of a misconception that older people don't really care about technology or don't want to use technology.
- 42:33But in my experience, I did that for a few years ago.
- 42:37And you go in and they definitely want to stay connected and they want to get pictures of their grandkids and set up their email so that they can keep in touch with family or learn how to subscribe to their favorite online news source or anything like that.
- 42:51That's one way for – as far as tech people.
- 42:54As far as it's – as far as being more software related, I also talk about how you can build websites for free for certain organizations that might not be able to actually afford to hire somebody.
- 43:06So you can do websites for maybe a pet shelter or a local farmer's market or something like that.
- 43:11That's a cool idea.
- 43:12And one of the things so many people who are getting into Python need before they can actually reasonably go get jobs is some experience and something they can point at and go, that thing?
- 43:22I built that thing and here's what it does and here's how this company is using it.
- 43:26Here's a way if you've got some free time that you could do one of those projects and it still benefits you very directly in that like when you apply for the job, say, for Django or whatever, you go, yeah, I use Django.
- 43:37Look, this thing I did over here and maybe they maybe learned it from your channel or something.
- 43:42Who knows?
- 43:42That's definitely a great way to have some things added to your portfolio.
- 43:47I get that question all the time, people asking me, what is a real-world project that I can do that a computer or that a corporation or an employer might be interested in?
- 43:58And usually, yeah, usually I tell them that like one of my top recommendations is to build a website because when you build a website from scratch, you get so much, you get your hands involved in so many different areas.
- 44:11So, for example, you do the back end, which is probably going to be in Python if you're listening to this podcast, but you can also do back end websites and Node.js and PHP and things like that.
- 44:22But you also get exposed to the front end doing JavaScript, HTML, CSS.
- 44:26If you host the website yourself, you get...
- 44:30Maybe Linux and Docker, yeah.
- 44:31Yeah, yeah, yeah.
- 44:32So if you're hosting the website yourself, you're going to get exposed to Linux and setting up, you know, system security and how domain hosting works and everything.
- 44:39So, yeah, doing a website is a great way for people to build up a portfolio because you get exposed to so much.
- 44:46And not only that, but it also helps you realize what you like the most.
- 44:49So if you, you know, if you liked doing...
- 44:52And that's kind of what happened to me is once I started doing back end web work with Python, I realized, hey, I think I want to do this instead of front end work now.
- 44:59So it's, you might not know it until you try it.
- 45:01And it's the same thing with, you know, maybe somebody will do, put their website up on a Linux system and they really like doing the system administration type of stuff.
- 45:09And then they go and do that full time.
- 45:10So not only is it a great way to get a portfolio built up, but it's also a great way to kind of identify where your strong points are and what you enjoy the most.
- 45:18That's great advice.
- 45:19One of these sorts of examples that people did in a volunteer sense that I thought was pretty cool is something called Humanitarian Toolbox.
- 45:26It's at htbox.org.
- 45:28Now this, I think, I think the project is mostly a .NET project.
- 45:31So Python people might not really care to contribute, but maybe it'll inspire you.
- 45:35It's like a thing that the Red Cross and other organizations like them can use for like hurricanes and earthquakes and stuff like that to help connect people and victims and sort of after stuff strikes.
- 45:47It's pretty cool.
- 45:47Yeah.
- 45:48They're kind of similar to that.
- 45:49There's a, if you go to GitHub, I think it's under, it used to be under GitHub showcases, but now I think it's under GitHub collections.
- 45:56And I've never actually contributed to any of these projects, but I saw it in my research for that video.
- 46:01And it's kind of the same.
- 46:02It has, there's one section that's called Made in Africa.
- 46:05And it's a lot of, you know, open source software that people are using over there to stay connected so they can do, you know, yeah, emergency response or SMS type of systems where they can message people back and forth.
- 46:17And setting up that infrastructure is, yeah, would be a great thing to work on.
- 46:22So it sounds kind of similar to what you're talking about with the Red Cross.
- 46:25That's awesome.
- 46:25I put the Made in Africa link in the show notes for people.
- 46:27Cool.
- 46:28Awesome.
- 46:28All right.
- 46:29So that rounds out the video series that we are going to, the ones we're going to cover, at least for the show.
- 46:35But you have a whole bunch and people can come check them out on your YouTube channel, right?
- 46:38Yeah.
- 46:38Yeah, definitely.
- 46:39All right.
- 46:39So in the last bit of time that we got, I think I want to talk a little bit about some of the mechanics of just being successful on YouTube.
- 46:48So you touched on a few things like how to, you have to enjoy it, right?
- 46:52You can't just go in there for money.
- 46:55You talked about how it took a long time before you saw any success.
- 46:59And I think one of the things that is, as human beings, especially people who are human beings who are excited about a thing you're about to embark upon, it's really hard to understand the non-linearity of these types of things, right?
- 47:12Like you worked on your channel for a long time before it started to see growth.
- 47:16I worked on the podcast for a long time before it was anything that would reasonably put my daughters through college.
- 47:22But then it does, right?
- 47:24But you've almost got to have this irrational belief that if I just, I'm not there yet.
- 47:30I know it's been six months, but I'm just like, yeah, we're going to be way more than $10 next month, I promise.
- 47:35Right?
- 47:36So it's an interesting thing.
- 47:38So you do have to enjoy it and basically have to do it anyway.
- 47:42It's like, I would do this anyway.
- 47:43Hopefully people enjoy it, right?
- 47:44Yeah, exactly.
- 47:45Yeah.
- 47:45So what other advice do you have?
- 47:46Yeah, I'd say that's the biggest piece of advice.
- 47:49As far as YouTube and teaching in general, so first of all, yeah, like we were saying, you have to have patience.
- 47:56But you also have to have some consistency.
- 47:58But you also don't want to be tied down by that consistency.
- 48:01So like, for example, you know, if you get on and look up YouTube advice on how to be a successful YouTuber, for example, one of the top things you always see is to be consistent.
- 48:12So like, you know, a lot of people like to put out like a weekly show, like, okay, every Wednesday I'm going to release a video.
- 48:18And I think that's great advice.
- 48:21And definitely I wouldn't say not to do that.
- 48:23But also don't be afraid to break away from advice like that as well, because I try to be consistent in terms of releasing, you know, a week or every other week.
- 48:31But I'm not tied to that so much to where I sacrifice the content.
- 48:35So if you have like a deadline coming up and it's like, okay, well, I told people I would put this out, but the content's really not that good.
- 48:43Then I would sacrifice the deadlines to make the content better because the content's really the most important thing.
- 48:48You want to put out something that you're proud of that you think is going to actually teach people and not just some, you know, quick video that no one's really going to care about just to meet a self-imposed deadline.
- 48:59So, yeah, I'd say for blogs and for, you know, YouTube or any kind of teaching or any kind of content creation, content should be the first and foremost thing that you think about whenever you put stuff out.
- 49:13Yeah, that's really interesting.
- 49:14I think it's good advice.
- 49:15You and Dan Bader had an open session at PyCon covering some of these ideas, and I was hoping I could make it, but I was at my booth doing my booth thing.
- 49:25So I couldn't go, but you said you learned some interesting stuff there.
- 49:28What was that like?
- 49:30Yeah, so that was an awesome experience for me because, you know, this was my first year at PyCon.
- 49:35And, you know, usually when I do these videos, I'm just behind the computer.
- 49:39I'm not like, you know, interacting with creators all the time, other creators.
- 49:43And so that was a really cool session in terms of just bouncing ideas off of each other.
- 49:47And it was interesting, too, because it's the first time that I've actually been included in something like that.
- 49:53Because, you know, whenever I was learning Python, I was like Al Swigert was there.
- 49:57He's the one who wrote Automate the Boring Stuff.
- 49:59And Trey Hunter has given a bunch of PyCon talks.
- 50:02So it was just kind of interesting being in that group.
- 50:04And, you know, some people asking questions like, oh, well, what do you think about this?
- 50:08And, you know, it's just kind of interesting in terms of being kind of included in that for now.
- 50:14But, yeah, we bounce some ideas off each other in terms of, you know, a lot of people are saying that they were basically saying that they use email lists a lot.
- 50:22So that's one thing that I'm kind of lacking on is setting up a good emailing list, because that's something that you can kind of take anywhere when you know anywhere that you go.
- 50:32So if, you know, YouTube was to fall through and I have to move to a different platform, then that email list is still something that stays with you.
- 50:39And you can always, you know, email out all of your followers and say, hey, I'm, you know, not doing this anymore.
- 50:44I'm going here.
- 50:45So you kind of have an audience that can follow you around.
- 50:47So, yeah, bouncing ideas like that off of each other was a great way to to learn different techniques and different streaming services and how other people are doing things.
- 50:56So, yeah, I thought it was extremely useful.
- 50:58That's really cool.
- 50:59I definitely want to double down on that.
- 51:01Like, I think the sort of the email list side of things and that kind of stuff is very much the iceberg of success for a lot of these things.
- 51:09And, you know, the stuff that you don't actually see, the people are like, that person is crazy successful about it.
- 51:15But you don't actually see how it is.
- 51:17There probably is some sort of email list involved.
- 51:19Like I have, you know, some for the podcast and some for the training.
- 51:23And it's the relative value.
- 51:25I would say, like, I would trade 20,000 Twitter followers for 2,000 email people who actually want to be there.
- 51:32Like it's at least that that much of a difference.
- 51:35Yeah, because that's people who have gone out of their way to actually, you know, taking the time to subscribe.
- 51:39It's so much easier to just get on Twitter and hit follow.
- 51:42But, yeah, there's so many of those people who won't get the message that you're trying to send through.
- 51:46So, yeah, having a core audience of people who, you know, really listen to the things that you send out is definitely, definitely useful to have.
- 51:54Yeah, I just want to say thanks to everybody who subscribed to my list or subscribed to the podcast.
- 51:58And I know you feel the same way about your YouTube subscribers, right?
- 52:01Yeah, that's definitely the only reason that we can do it full time for sure.
- 52:07Yeah, for sure.
- 52:07So, YouTube can be a tough place to sort of put yourself out there.
- 52:13Where, you know, it's like 99% of the people are really friendly and super supportive.
- 52:17And then other people, you know, they'll think that you owe them some sort of consulting thing because you talked about something they're having a problem with.
- 52:24Or they can just be like outright mean.
- 52:27Like, have you had any of those experiences?
- 52:29I know that I have and other people who are doing similar stuff have.
- 52:32Yeah, so like you said, it's probably a little over more than 99% who are completely positive.
- 52:39And then you're going to have that, you know, that less than 1% who definitely kind of give you a hard time.
- 52:45And yeah, I've run into that.
- 52:46It's one thing that you kind of have to – I actually thought it was going to be worse before I started doing it.
- 52:53So it was – because, you know, I look at, you know, news channels on YouTube and stuff like that.
- 52:58If you look in the comment section of channels like that, it's just a complete, you know, dumpster fire.
- 53:03It's terrible.
- 53:04But in this community, it's been fantastic.
- 53:07You know, a lot of people are supportive, you know, and other creators even support other creators.
- 53:12So it's not like we look at each other as, you know, competitors.
- 53:16I've had – you know, I've recommended other people's YouTube channels whenever I don't really haven't covered a subject yet.
- 53:23And they've done the same.
- 53:24I've seen, you know, people who have YouTube channels who link to my videos.
- 53:28And yeah, so it's for the most part very supportive.
- 53:31But yeah, that's just like anything on social media these days.
- 53:35You kind of have to have slightly thick of a skin to ignore that 1% because those are definitely the ones that kind of stick with you and sting for a while.
- 53:42But –
- 53:43Exactly.
- 53:44You could have 100 great comments and then one super mean one.
- 53:48And somehow that is the takeaway that you take from those messages.
- 53:52But I find that I've gotten to the point where, you know, I have definitely not thick skin in general as a person.
- 53:59But over the last few years, I definitely have built it up and it's fine.
- 54:03But I just wanted to kind of touch on that a little bit for anyone else who's out there thinking about it.
- 54:07Just let it roll off.
- 54:08It's not the – you're helping most of the people.
- 54:10There's a few people that get upset and whatever.
- 54:13Yeah, exactly.
- 54:14And that's – these days I don't even take it personally.
- 54:17I think those people would be upset at no matter what the content is.
- 54:21I think some people are just looking for an outlet and they kind of forget that there's another person on the other side of the computer.
- 54:26And so they kind of use it as their own, you know, little punching bag to get on there and say whatever they want to say.
- 54:32So – but yeah, it used to bother me more than it did.
- 54:34But after doing it for a while, you just got to, yeah, let it roll off.
- 54:37Yeah, I'll give you one real quick example just so people kind of get a sense.
- 54:40You know, I have two MongoDB courses.
- 54:43One of them is eight hours.
- 54:44And we talked about how much work that is.
- 54:46One of them is two and a half hours and it's not like a copy of the other course.
- 54:49It's totally different.
- 54:50And I did that from scratch.
- 54:52And it took me almost a month of just work to make that free course that I gave away, you know.
- 54:57And one of the first comments was, why won't you just give us the full course?
- 55:01This is crap.
- 55:02I'm just like, are you kidding?
- 55:03I spent a full month of my life making zero income to make this for people like you.
- 55:09You don't have to love it.
- 55:11But please, you know, come on.
- 55:12Don't like go out and publicly berate it.
- 55:14Right?
- 55:14But that kind of stuff, you know, hundreds of people loved it.
- 55:17Thousands of people loved it.
- 55:18But that one person still kind of bugs me.
- 55:20So you just got to get like to the point where like, yeah, that does bug me.
- 55:24Yes.
- 55:24Stuff like that.
- 55:25There's, you know, there's a lot of stuff out there that's, yeah, just not really offered as constructive criticism.
- 55:30I mean, I get a lot of constructive criticism and I kind of like that.
- 55:34I like whenever people are nice and they say, hey, you know, I, you know, why don't you, I couldn't really watch this.
- 55:39You know, on some of my older videos, they were like, you know, this looks great, but I wish you would have made the text larger because I can't see.
- 55:44So now stuff like that really helps because I can make better stuff.
- 55:47But yeah, there's a lot out there that's not even really meant to be constructive.
- 55:50I think the other day I had, let's see, one of them that kind of stuck with me is one of the earlier videos I did.
- 55:57Somebody was like, man, this guy's Southern accent is so bad.
- 55:59Why would anybody watch this, you know, watch this all the way through?
- 56:02And so I was kind of thinking about that, like, man, maybe everybody's going to think that.
- 56:05But no, it's 99.9% positive.
- 56:09So, yeah.
- 56:10Yeah, yeah, yeah.
- 56:10Absolutely.
- 56:11Absolutely.
- 56:11All right.
- 56:13So I guess, you know, I don't have enough experience with this side of things, but, you know, maybe people out there might be interested.
- 56:19So share as much or as little about this as you want to tell me, like, I don't want to answer this.
- 56:23But you talked about in the first couple of years, you only made like $100 a month or something like that.
- 56:28And then it became enough that it could be your job.
- 56:31Like, what level of subscribers and views and, like, how frequently do you have to put stuff out where it's like, okay, I could reasonably call this my job if I did that?
- 56:40So what's the bar for people to aim for if they wanted to do something like that, I guess is what I'm asking.
- 56:46That is a tough question to answer because it's so – it's very – it's different for every person.
- 56:52So, like, for me personally, I was able to – I think I quit my job as soon as I reached 100,000 subscribers.
- 56:59But sometimes people will have more subscribers with less views, and sometimes they'll have more views with less subscribers.
- 57:08So it's kind of hard to – kind of hard to say exactly, you know, the number of subscribers there.
- 57:14But one thing I will say is as I was going through the process, let's see, I think I was – I probably was able to quit whenever I was getting about 600,000 views per month.
- 57:25And that's – and YouTube has all those analytics for people.
- 57:28YouTube's great with analytics in terms of, you know, telling you your demographic and when people stop watching your videos and how many people are watching your videos and where they're being found from, whether they're being found in search results or external URLs.
- 57:42So, yeah, that's about the time I could quit my job.
- 57:45And I'm actually trying to move over to different sources of income as well.
- 57:51So I'd say right now – and I just made a video about this the other day.
- 57:55But I think right now I'm making about 95 percent of my income from YouTube advertisements.
- 58:00So when people go to watch a video, YouTube plays an ad before the video, and then the creator gets a chunk of that money.
- 58:07But really I would like to build up the fan funding section to where it makes up the majority of my income.
- 58:13You know, sites like Patreon.
- 58:15I know that you have a Patreon for Talk Python.
- 58:17Yeah.
- 58:18And that's – I've never experimented with Kickstarter.
- 58:20I know you've done some Kickstarter things that – so basically for people who don't know the difference between Patreon and Kickstarter is that Kickstarter is really meant to fund like one single project.
- 58:31And you have, you know, a goal that you're trying to reach.
- 58:34And Patreon is more monthly contributions to an ongoing project.
- 58:39So, you know, for people who are making consistent content like Talk Python, people can just support that on a monthly basis.
- 58:46So I would really like to build up the fan funding section of the income more so that I wouldn't have to rely as much on YouTube.
- 58:53Because like I was saying before, in terms of having an email list where people can follow you to any platform, that's kind of the same concept with fan funding.
- 59:01Like if I was to go from, you know, YouTube to something like Twitch and start doing more live streams through something like Twitch, then I wouldn't have to worry that I was losing that YouTube income if I had the majority coming from fan funding.
- 59:15So then you can just be – you know, those are the only people that you, you know, are really looking out for are the people who are actually paying for your content and worrying less about advertisers and sponsors and stuff like that.
- 59:26Yeah, that's really interesting.
- 59:27I think it's a good path for where you are and where you're going.
- 59:30And it seems like a great way to connect with people.
- 59:34I don't push my Patreon stuff that much because if somebody supports the podcast by donating $1 a week, that's about $50.
- 59:42Or if they could buy one class a year, that's also about $50.
- 59:47And if they buy the class, then they get something extra.
- 59:50Whereas the Patreon, they kind of – I don't really have any perks there.
- 59:54So I don't push that super hard.
- 59:56But the multiple angles of staying in touch, the multiple ways that you can interact with people and help them and they can give back definitely is worth pursuing.
- 1:00:05Yeah, exactly.
- 1:00:06All right.
- 1:00:06Well, Corey, this has been super interesting.
- 1:00:09And I think we're just about out of time here.
- 1:00:11So let me ask you the final two questions.
- 1:00:14So if you're going to write some Python code, what editor do you use?
- 1:00:17Although we could go to your YouTube channel and discover this probably.
- 1:00:20But go ahead and tell me that.
- 1:00:21That's probably the most common question that I get in my comment section is what editor I'm using in the videos.
- 1:00:27So I'm using – I have a few videos where I set up different development environments.
- 1:00:31But the one that I'm actually using the most is Sublime Text.
- 1:00:34So – and that's – I didn't choose Sublime Text for any reason other than the fact that it is very minimalist and it doesn't have any bells and whistles getting in the way.
- 1:00:47And that makes it good for recording videos because then people can just focus on the actual code instead of seeing all these extra options off to the side.
- 1:00:56I think that PyCharm might have something like that in a presentation mode.
- 1:01:00But I – you know, Sublime Text is working for me so well right now that I haven't taken the time to check out other IDEs that might be useful.
- 1:01:08But I've heard great things about PyCharm too, though.
- 1:01:10Yeah, very nice.
- 1:01:11Yeah, definitely Sublime Text is great.
- 1:01:13And then notable PyPI package.
- 1:01:15Yeah, I think the package I probably use most often is SQLAlchemy or SQLAlchemy.
- 1:01:22And that's basically just because, you know, it's hard to touch any application these days that doesn't have some kind of database in the back end.
- 1:01:29Even if that's, you know, a desktop application, you might be using SQLite on the file system or a web application you'll be doing, you know, maybe a Postgres in the background.
- 1:01:38And, yeah, SQLAlchemy is great because it gives you this, you know, something that you can interact with and even switch databases around.
- 1:01:46You know, you can use SQLite for development and then go to Postgres for production.
- 1:01:51And all of that code just stays the same that you've written for SQLAlchemy.
- 1:01:54So that's definitely the one I think I use most often.
- 1:01:57Yeah, that's a really nice one.
- 1:01:58And the ability to just change the connection string for production to development and maybe even have a totally different database, like you said, is really great.
- 1:02:07Yeah.
- 1:02:07So I've been recently been playing with Alembic.
- 1:02:10Have you been playing with that?
- 1:02:10Alembic.
- 1:02:11Is that, I don't think I have used that.
- 1:02:13It comes from Mike Bayer as well, and it integrates with SQLAlchemy to do migrations.
- 1:02:19So as your class schema changes, you can just say apply these changes to upgrade my database in production or in staging as those changes roll in.
- 1:02:28It's really nice.
- 1:02:29Okay.
- 1:02:29Yeah, that's right.
- 1:02:29I have actually used that on one project.
- 1:02:31And, yeah, that is a nice addition to SQLAlchemy as well.
- 1:02:35Yeah, I like those together.
- 1:02:36All right.
- 1:02:37So final call to action.
- 1:02:38I know lots of people out there are like, I would love to do something kind of like this.
- 1:02:44But what would you say to them?
- 1:02:45Basically, I would just say to, you know, just to get started.
- 1:02:49If you want to do something like that, just start keeping notes about what you want to present to people, what you want to start creating.
- 1:02:56And then you can just slowly roll it out.
- 1:02:59You know, a lot of people feel like they have to have this big production setup before they even do their very first, you know, attempt at something like this.
- 1:03:07But really, you can just, if you're doing a blog, you can just get on and write up your blog in a text editor and put it out to a site like GitHub Pages or something like that.
- 1:03:17Or if you're making videos, as long as you have, you know, you can buy a cheap microphone for about $20.
- 1:03:23The first videos I did, I didn't even have a microphone.
- 1:03:26So it was just, you know, recorded off my computer.
- 1:03:28And people don't mind that stuff as much as you think they would.
- 1:03:32So, yeah, just getting started and getting your foot in the door with stuff like that is the best way to go.
- 1:03:37Yeah, that's awesome.
- 1:03:38I started the podcast with a $55 microphone and $5 worth of software.
- 1:03:43So, yeah, yeah.
- 1:03:44Yeah.
- 1:03:45So it's not as complicated as what a lot of people make it out to be.
- 1:03:48It's just getting that first step, taking that first step and just doing it.
- 1:03:53I have one other thing to throw out there for people to sort of follow on with that is we live in a world where there are no longer gatekeepers.
- 1:04:01Right.
- 1:04:01Like, who did you ask permission to start your YouTube channel from?
- 1:04:04Oh, yeah, exactly.
- 1:04:05Yeah, yeah.
- 1:04:05There's nobody.
- 1:04:06Nobody, right?
- 1:04:07Nobody that you have to check with.
- 1:04:08Yeah.
- 1:04:09Yeah.
- 1:04:09Same here.
- 1:04:10And so many of the people who are doing stuff like us, they just decided, I'm just going to do this.
- 1:04:14And a lot of people sort of see, you know, I kind of think it's sort of under an undertone in their thinking, not super obvious.
- 1:04:22But they feel like I've got to get to some stage where people will accept me and where people are going to kind of like, I'm good enough that some channel or some platform will accept me to do my work.
- 1:04:33Not really.
- 1:04:34You just got to go out there and get started.
- 1:04:35And, you know, there's no gatekeepers.
- 1:04:37It's up to you.
- 1:04:38Go and do it.
- 1:04:39Yeah, I think that's great advice.
- 1:04:40Yeah.
- 1:04:40All right, Corey, thanks for being on the show.
- 1:04:42This is really awesome.
- 1:04:43And super congratulations on going full time on this.
- 1:04:46That's amazing.
- 1:04:47Yeah, thanks a lot.
- 1:04:48I really appreciate you having me on.
- 1:04:49I have listened to your podcast since probably the first episode and I never thought I would actually be on it.
- 1:04:54So it's really cool to be on here.
- 1:04:57That's really awesome.
- 1:04:58Well, I'm happy to have you.
- 1:04:59This is cool stuff you're doing.
- 1:05:00So happy to share it.
- 1:05:01Take care.
- 1:05:02All right.
- 1:05:03Take care.
- 1:05:03Thanks a lot.
- 1:05:03This has been another episode of Talk Python To Me.
- 1:05:08Our guest this week was Corey Schaefer.
- 1:05:10And this episode has been brought to you by Datadog and Rollbar.
- 1:05:13Datadog gives you visibility into the whole system running your code.
- 1:05:18Visit talkpython.fm/datadog and see what you've been missing.
- 1:05:22Don't even throw in a free t-shirt for doing the tutorial.
- 1:05:24Rollbar takes the pain out of errors.
- 1:05:27They give you the context and insight you need to quickly locate and fix errors that might have gone unnoticed until your users complain, of course.
- 1:05:35As Talk Python To Me listeners, track a ridiculous number of errors for free at rollbar.com slash talkpythontome.
- 1:05:43Want to level up your Python?
- 1:05:44If you're just getting started, try my Python jumpstart by building 10 apps or our brand new 100 days of code in Python.
- 1:05:51And if you're interested in more than one course, be sure to check out the Everything Bundle.
- 1:05:55It's like a subscription that never expires.
- 1:05:57Be sure to subscribe to the show.
- 1:05:59Open your favorite podcatcher and search for Python.
- 1:06:01We should be right at the top.
- 1:06:03You can also find the iTunes feed at /itunes, Google Play feed at /play, and direct RSS feed at /rss on talkpython.fm.
- 1:06:12This is your host, Michael Kennedy.
- 1:06:14Thanks so much for listening.
- 1:06:15I really appreciate it.
- 1:06:16Now get out there and write some Python code.
- 1:06:18I'll see you next time.
- 1:06:39Thank you.