Latest / Talk Python To Me / #27: Four Years of Python for High Schoolers
Transcript
- 0:00Often, people complain about the lack of developer skills in Western countries like the United States,
- 0:04and that problem is amplified when you consider typically underrepresented groups such as women and minorities.
- 0:09This week, you'll meet Laura Blankenship, who's doing more than her share to widen the appeal of programming to women in general and to Python in particular.
- 0:17This is episode number 27 of Talk Python To Me, recorded Monday, September 14th, 2015.
- 0:23Developers, developers, developers, developers.
- 0:27I'm a developer in many senses of the word, because I make these applications, but I also use these verbs to make this music.
- 0:34I construct it line by line, just like when I'm coding another software design.
- 0:39In both cases, it's about design patterns.
- 0:42Anyone can get the job done. It's the execution that matters.
- 0:45I have many interests. Sometimes I can flex.
- 0:48Welcome to Talk Python To Me, a weekly podcast on Python, the language, the libraries, the ecosystem, and the personalities.
- 0:56This is your host, Michael Kennedy. Follow me on Twitter, where I'm @mkennedy.
- 0:59Keep up with the show and listen to past episodes at talkpython.fm, and follow the show on Twitter via at talkpython.
- 1:06This episode is brought to you by Hired and Codeship.
- 1:11Thank them for supporting the show on Twitter via at Hired underscore HQ and at Codeship.
- 1:17Hello, everyone. Congratulations to Justin Alexander, who won the copy of the book, Full Stack Python's Guide to Deployment last week.
- 1:25Do you want to be in the running for free stuff?
- 1:27Just visit talkpython.fm and become a friend of the show like Justin did.
- 1:31Now, let's get right to the interview.
- 1:33Let me introduce Laura.
- 1:35Laura Blankenship is the chair of the computer science department and intern dean of academic affairs at the Baldwin School,
- 1:42an all-girls K-12 school in Philadelphia, Pennsylvania.
- 1:46Laura, welcome to the show.
- 1:48Thank you.
- 1:49Yeah, I'm really excited to talk about teaching kids and especially girls programming today.
- 1:53Great. Me too.
- 1:55Yeah, I bet. That's definitely your passion, isn't it?
- 1:57Yes.
- 1:59So we're going to talk about what you're doing at the Baldwin School.
- 2:02But before we get into specifically your work there, let's just take a step back and start where you started with programming and Python and all that.
- 2:11Okay. Well, it's a rather long, circuitous path that I took to get here.
- 2:16I actually don't have a degree in computer science.
- 2:19It didn't exist at my college when I graduated.
- 2:23So I did take computer science in seventh grade myself and then again in college, both in basic of all things.
- 2:31So, yay.
- 2:33Wow. That's pretty impressive.
- 2:35Usually it's either Java or C++.
- 2:36I know.
- 2:37My first course was in Scheme.
- 2:40Oh, yeah.
- 2:41Yeah, I haven't done a lot with Scheme, but I've seen it.
- 2:46My husband keeps trying to talk me into it, but I haven't gone there yet.
- 2:51So after college, I graduated with a degree in creative writing, of all things, and went to grad school for that.
- 3:00And then ended up basically paying for grad school by working either on the technology side in departments or specifically in IT departments.
- 3:12It pays better than poetry.
- 3:15So I just figured a lot of stuff out on my own.
- 3:18I mean, at the time, this was the early 90s.
- 3:21You know, nobody knew what computers could do or, you know, what they were capable of.
- 3:27So, and no one knew how they worked.
- 3:29So I would just take a manual and figure it out.
- 3:31And, yeah.
- 3:33So, I mean, most of the people that worked in those departments at the time were still using, like, IBM Selectric typewriters.
- 3:41So I had a little bit of an advantage over them.
- 3:44And basically, I then kind of got into mostly web development and design and worked across the street from the Baldwin School at Bryn Mawr College in their IT department developing educational technology tools.
- 3:58You know, you started before the World Wide Web.
- 4:01Yeah.
- 4:02And when people learn through books still, right?
- 4:04So definitely an interesting time to get into programming.
- 4:08Yep.
- 4:08Cool.
- 4:09So that's how you got into programming.
- 4:10What about Python?
- 4:11Like, what got you interested in that?
- 4:13Well, so in our web development shop, we were mostly PHP, a little bit of JavaScript.
- 4:19And then when I, and I taught a summer program using mostly PHP and JavaScript and occasionally Flash, ActionScript.
- 4:30I just pretty much went wherever the students wanted to go.
- 4:32And then when I came over to Baldwin, I just, the thought of teaching them PHP sort of scared me.
- 4:40JavaScript, similarly.
- 4:42So I started looking for a language that would be a little bit easier for high school students, actually at the time, middle school students to tackle.
- 4:51So I just, Bryn Mawr's computer science department actually used Python and a little bit of Java, but they were shifting at the time to Python.
- 5:01So I just decided to go through, I went through a couple of Python books and it was easy for me.
- 5:08So I thought it would be easy for the kids too.
- 5:10Yeah, that's cool.
- 5:11And, you know, I think your intuition there is good because that's what the universities are switching to as well, right?
- 5:17Yeah, pretty much.
- 5:18Pretty much.
- 5:20Okay.
- 5:20So that brings us to the Baldwin School.
- 5:22And the Baldwin School looks really interesting.
- 5:23And let me actually read what you guys have for your little Twitter subtitle introduction or whatever that part on Twitter is called.
- 5:31Right.
- 5:31It says, Baldwin is an independent school for thinking girls who know the power of their own mind and use them to better the community and the world.
- 5:39That's a pretty awesome mission statement.
- 5:41It is pretty awesome.
- 5:42Yes.
- 5:43Cool.
- 5:44So tell us about it.
- 5:46So we are pre-K through 12 school, all girls, and have been since our founding in 1888.
- 5:55And, you know, the girls here are pretty amazing and, you know, really do start at a young age wanting to change the world, which is kind of cool that, you know, you'll have a seven-year-old running around thinking that they can do something that will make a big impact.
- 6:14And, of course, as they get older, they can realize some of those goals and dreams.
- 6:20And some of them do, you know, many of them do, you know, many of them do a ton of community service.
- 6:28So I think that's probably the biggest impact that they have is a lot of them work with a variety of organizations to do whatever, you know, those organizations need and often, you know, provide expertise that maybe those organizations don't have.
- 6:44It's really neat that you're teaching computer science at a deep level to these girls.
- 6:49I think so much of the idea or the opinion that you express that, hey, I can change the world, regardless if you're a man or a woman, is sort of the surroundings that you're in, right?
- 7:01Yeah.
- 7:02You know, the magic of places like Silicon Valley and those kinds of things.
- 7:07Partly, that's just a mentality, and people are drawn to that mentality.
- 7:11So you're around all these other people that have this mission to change the world, too.
- 7:15And, hey, if everyone else is doing it, why can't I do it, right?
- 7:17Exactly.
- 7:18Cool.
- 7:19So that seems to be working really well for you.
- 7:22Yeah, so far.
- 7:23I mean, we've only had computer science here for five years, going on six.
- 7:29This is my sixth year here.
- 7:31I started the program.
- 7:33And so, you know, the student that graduated that first year, I used to boast a 100% rate of computer science majors because I had one student who enrolled in a computer science program at Purdue.
- 7:51So they haven't yet quite made it out of college and into the realm where they can, you know, maybe have a larger impact.
- 7:58But I think it's, you know, give me another five years or so, and I think you'll start to see some of our students, you know, end up in Silicon Valley or wherever they might end up, you know, making an impact on the technology world.
- 8:13I went to grad school at Purdue in math.
- 8:16And so I was probably in the same building, actually.
- 8:17Probably.
- 8:18Yeah, good luck to her.
- 8:20That's awesome.
- 8:20I think when people hear high school, and it's really important to emphasize this is not like a private college.
- 8:26This is high school, like you said, and below.
- 8:28Yeah.
- 8:29Yeah.
- 8:29Computer science, you know, a lot of states are struggling to even just allow a single programming course of some sort.
- 8:38And it's usually some kind of after school curriculum or activity.
- 8:41Maybe we could talk about the classes that you guys have, because I was really impressed with, like, how much you're offering to your high school girls.
- 8:49Yeah.
- 8:50So, interestingly, we start teaching computer science at the pre-K level.
- 8:56It's very basic, as you might imagine.
- 9:00My department and I are actually in the – I have four people in my department.
- 9:04We're in the middle of kind of deciding what our mission statement is.
- 9:08I think we're all on the same page, but just kind of, you know, coming up with what it is we do based on what we're kind of already doing.
- 9:15So, in the elementary school and the middle school, we have a program called the Dream Lab, which is a combination of computer science and engineering,
- 9:27the sort of heavy load of design thinking process in there.
- 9:30So, they do a little bit of everything.
- 9:32But we still think of the central thread of that as computer science concepts.
- 9:36And then once they get to high school, it becomes an elective.
- 9:39It's required through eighth grade, which is great.
- 9:42And then it becomes an elective.
- 9:45And we start with an intro course, a year-long intro course, and that's all in Python.
- 9:50And it's been a great course.
- 9:53The students end up doing a lot of different things.
- 9:55We work with robots, and we do some graphics projects and some game programming and things like that.
- 10:01That's really cool.
- 10:02And you do all that work with Python, right?
- 10:04Yeah, all of it's with Python.
- 10:06Yeah.
- 10:07So, maybe we could talk, before we move on, maybe we could talk a little bit about, like, some of the libraries and stuff that you're using.
- 10:14Like, are you using something like Rosspy for the robots?
- 10:16Or what kind of stuff are you doing there?
- 10:19Yeah, that's a good question.
- 10:20So, I've been using an IDE called Calico for about four or five years.
- 10:25And it has a lot of those libraries built into it, which is one of the things, as you know, with Python or any language,
- 10:32anytime you're trying to do, you know, special things like game development or graphics or robots, you need different libraries for that.
- 10:40And the nice thing about Calico is I don't have to go find them.
- 10:43They're already there.
- 10:44So, the robot libraries are built in.
- 10:47The graphics libraries are built in.
- 10:49So, it's been, you know, it's an easy-to-use system.
- 10:54And it was built for education specifically for that very reason.
- 10:58Cool.
- 10:59Is it kind of like what the scientific data science folks, say, like Continuum are doing with Anaconda, where it comes pre-built, but this is for education and teaching?
- 11:09Yeah, exactly.
- 11:10Okay.
- 11:11And is it free?
- 11:11It is completely free.
- 11:13Free and open source.
- 11:14Yeah, awesome.
- 11:15Okay, so you guys use that.
- 11:16That's cool.
- 11:17Yeah.
- 11:17Yeah, so that makes it really easy.
- 11:19We do experiment with some other IDs later.
- 11:23We, in CS2, which is the next level where we do focus mostly on object-oriented programming, I've been using PyCharm.
- 11:32And, you know, that's, again, because it's easy to install libraries via PyCharm.
- 11:39Right.
- 11:39It's all about installing things and making that process easy.
- 11:43I think that's what a lot of teachers in, you know, middle and high school struggle with is I'm lucky in that my IT department isn't locked down at all, but a lot of places it is.
- 11:55So the idea of installing something that's going to actually write code is a little scary to a lot of IT places.
- 12:02Yeah, so that's really cool that you're using PyCharm.
- 12:04You know, I've said that I'm a huge fan of PyCharm on the show before, and I think actually the concept of using an IDE is,
- 12:12it's very much a sort of dividing concept for the folks in the Python community.
- 12:18A lot of people are using Vim and Emacs, and they're like, we don't need that heavyweight stuff.
- 12:22Leave us alone.
- 12:23And then some people love their IDEs.
- 12:26I'm more in that group.
- 12:27You know, it really is nice in that you can just type import.
- 12:32Like, I could type import requests, and if request isn't there, it's like a hotkey to download and install that.
- 12:37Yeah, it is very nice.
- 12:39Yeah, so that's very helpful.
- 12:41I do teach a little bit of Vim or Emacs or whatever to my students,
- 12:48because I had a student a while back who went and did an internship at a university down the street,
- 12:54and she was really mad at me for not teaching her terminal and Emacs.
- 12:57And I was like, do you see how hard it is?
- 12:59So I do introduce it to them and explain to them that there are a lot of professional programmers that use this instead of an IDE.
- 13:09But, you know, it's too hard for high school students to wrap their heads around most of the time.
- 13:16Installing those requirements and all that kind of stuff is just, you know, it's things in the way.
- 13:21It's not something you want to learn when you're new.
- 13:23Right.
- 13:24You just want to learn how to get something on the screen, make a turtle move, make a web page come up,
- 13:29and you've got to have all these complex sort of sysadmin conversations.
- 13:33And if you can get that out of the way and push that down the road until you're like ready to have that sort of learning, I think that's way more valuable.
- 13:41Yeah.
- 13:43You start with this introduction to computer science, and is that mostly freshmen?
- 13:46It's a range.
- 13:48It is mostly freshmen, usually ninth and tenth graders.
- 13:52And then I always get a couple seniors who need to fill out their, you know, course load.
- 13:57And it's great because it's one of the few classes we have here that is across all the grade levels.
- 14:03So they get to know students in the other grade levels, which I really like.
- 14:06And they often end up working together on projects, too.
- 14:09Yeah, that's cool.
- 14:11And you said that with these classes, they're very project-focused.
- 14:15Do you maybe want to talk about that a little bit?
- 14:17You know, I probably a lot of us learned computer science in our classes or however we learned them via lecture primarily.
- 14:25And it was kind of painful.
- 14:27You know, you would get the lecture.
- 14:28You'd go do the problem sets, turn them in, and hope for the best.
- 14:32And you didn't get to do a lot of projects, maybe at the very end or, you know, midterm kind of things.
- 14:38But you don't really get a lot of practice doing the projects along the way.
- 14:41You're just doing these exercises.
- 14:43So I specifically structure my classes so that it's pretty much all projects.
- 14:48We do little ones and then big ones, and they just kind of build on each other.
- 14:52So we'll do a few things where I kind of treat it like a science class where I teach a concept like loops, for example.
- 15:00And then we'll do a little lab with a lot of different ways of experimenting with loops.
- 15:05And that'll just be the class period, and the lab is done.
- 15:08So it's like you're in a science lab and you have to have the equipment.
- 15:10And then they might do, you know, another concept.
- 15:14So we might do two or three concepts in a row.
- 15:16And then I'll have them do a project where they're going to have to implement those concepts in some way.
- 15:22So it might be a graphics project.
- 15:23It might be a game project.
- 15:26It might be, you know, working with the robots.
- 15:29So, like, we have a robot dance project where, you know, if you're going to make a dance step, you're going to do it over and over again.
- 15:35And it's going to have to be in a loop.
- 15:36So that's the way I've structured all of my classes.
- 15:40And it's interesting because sometimes the students get frustrated that I'm not, you know, specifically telling them all this stuff and having them just regurgitate it to me on a test.
- 15:51You know, they figure out what they need to know as they're working on the projects.
- 15:55Yeah.
- 15:56Well, I was on the other side of that when I was in college.
- 16:00My computer science courses, my first one, all the tests were on paper.
- 16:05And, you know, this is not a better way to learn, you know, even though it might be easier to, like, fill out some sort of multiple choice or something.
- 16:13Yeah.
- 16:13Right.
- 16:14Yeah.
- 16:14They'll be thankful in the end.
- 16:16That's cool.
- 16:16I have gotten those notes that they're thankful in the end.
- 16:19So I know it's working.
- 16:22That's really cool.
- 16:23Okay.
- 16:23So in your first one, you probably cover things like loops and declaring variables and input and output and, you know, maybe importing some modules so that you can, you know, do your robots and so on.
- 16:35And then the second one, you move on to, like, more modeling type stuff, right, with object-oriented programming and that kind of stuff?
- 16:41Yeah.
- 16:42So object-oriented programming mostly.
- 16:45And, of course, they've been using objects the whole time.
- 16:48And it's always a shock to them when they realize that they've been using objects the whole time.
- 16:52And then we, of course, learn how to create our own classes in the second course.
- 17:00And we do – I do a really short project so they can just learn the basics of what a, you know, class structure is and how it works.
- 17:10And then we do two bigger projects.
- 17:12I do a data analysis project where they have to gather some data from the Internet in some way, shape, or form and then analyze it and visualize it.
- 17:25So it's kind of a three-step process.
- 17:28So just getting stuff off the Internet is a challenge.
- 17:31And then, of course, pulling it into some sort of form that they can work with, like a CSV file or something, is another challenge.
- 17:39And then, you know, taking the raw data and turning it into something that we might want to look at is the third challenge.
- 17:47So that always takes longer than I think it's going to, but I'm always hopeful.
- 17:51And then we do a simulation together sort of as a class where everybody creates their own objects.
- 18:01They create their own classes.
- 18:02We sort of decide what the simulation is going to be.
- 18:06We did an aquarium one year.
- 18:09Last year we did the North Pole.
- 18:11So we had Santa land and we had, you know, reindeer objects and Santa objects and elf objects and candy cane objects.
- 18:19And, yeah, it was kind of fun.
- 18:21Yeah, I bet that was a big hit.
- 18:23It was.
- 18:24It was.
- 18:24So everybody has to create their own object and they have different methods and eventually they all interact with each other.
- 18:29And, you know, it's kind of a fun little project that we have.
- 18:32And it sort of simulates as best as I can do, you know, what it might be like to work on a team developing a product together.
- 18:41That's cool.
- 18:42Do you teach them any, like, source control, like GitHub or anything like this?
- 18:46No, I don't.
- 18:47I haven't gone there yet.
- 18:49It's sort of on my list of things to figure out how to work in.
- 18:52So, yeah.
- 18:53Some of them have been to summer camps and whatnot where they've learned that.
- 18:57It is kind of a hard thing to explain to them.
- 19:00But, yeah, it's on my list to get to at some point.
- 19:05Yeah, of course.
- 19:06Well, there's always the challenge of, like, you want to show them everything.
- 19:08But if you do that, then they'll learn nothing, right?
- 19:11Right, right.
- 19:11They just get overwhelmed and freak out.
- 19:13Nice.
- 19:15And so, you know, it's really cool that you start with Python.
- 19:18And it seems like they get basically two years of Python.
- 19:21Year and a half-ish.
- 19:24Year and a half.
- 19:24Okay, year and a half.
- 19:25The second one is a semester, right?
- 19:27Yeah.
- 19:27Yeah, cool.
- 19:28So they get a year and a half of Python.
- 19:30And then they move on to other topics.
- 19:32And are those still in Python?
- 19:34Not all of them, right?
- 19:35Not all of them.
- 19:37I am teaching this year for the first time a web design and development class, which is kind of funny since that's my background.
- 19:43It took me five years to get to teach that course.
- 19:46So it's happening this year, which obviously they could use Python for.
- 19:52I am going to teach them JavaScript.
- 19:54But I've already told them that, you know, if they prefer working in Python and want to go in that direction, I'll make sure everything's set up for them so that they can do that.
- 20:04And I've had some students do some things in Python just for the heck of it, which is always kind of fun.
- 20:13But yeah, so that's that course.
- 20:17And then I also have a physical computing course and a mobile computing course, which I don't do Python for either of those.
- 20:26Those are C-based courses.
- 20:28Okay.
- 20:29Yeah.
- 20:30That's sort of the senior level type things, right?
- 20:32Exactly.
- 20:32Yep.
- 20:33Yep.
- 20:33They actually have advanced topics in front of them.
- 20:36So, yeah.
- 20:37Yeah.
- 20:38They're ready for compilers, semicolons, and curly braces, I guess.
- 20:40Exactly.
- 20:41Exactly.
- 20:42And pointers.
- 20:43Maybe that's more the hard part.
- 20:45Right.
- 20:45Right.
- 20:46This episode is brought to you by Hired.
- 20:59Hired is a two-sided, curated marketplace that connects the world's knowledge workers to the best opportunities.
- 21:06Each offer you receive has salary and equity presented right up front, and you can view the offers to accept or reject them before you even talk to the company.
- 21:15Typically, candidates receive five or more offers in just the first week, and there are no obligations.
- 21:20Ever.
- 21:21Sounds pretty awesome, doesn't it?
- 21:23Well, did I mention there's a signing bonus?
- 21:25Everyone who accepts a job from Hired gets a $2,000 signing bonus.
- 21:29And as Talk Python listeners, it gets way sweeter.
- 21:34Use the link Hired.com slash Talk Python To Me, and Hired will double the signing bonus to $4,000.
- 21:41Opportunity's knocking.
- 21:43Visit Hired.com slash Talk Python To Me and answer the call.
- 21:56Okay.
- 21:57So, in the physical computing one, this is like sort of the Internet of Things.
- 22:01Is that right?
- 22:02Yep.
- 22:02Exactly.
- 22:03What do you guys do with the girls there?
- 22:05So, we, it's mostly Arduino based.
- 22:08So, I have, you know, a collection of Arduinos and accessories.
- 22:14And we also have a fully stocked, all of our, this just happened over the summer.
- 22:20My classroom is now fully stocked with anything they might want to build.
- 22:24I have a laser cutter and a CNC machine and two 3D printers.
- 22:28So, the idea is that they would, you know, come up with a project that requires some sort of programming.
- 22:35And then create the thing that the Arduino is going to live in using all that other equipment.
- 22:41Oh, that is so cool.
- 22:43Yeah.
- 22:43Yeah.
- 22:44It's been pretty fun.
- 22:45I didn't get to teach it last year because there weren't enough of me to go around.
- 22:50So, I had to hire somebody else this year.
- 22:53So, that worked out well.
- 22:55So, last year, I had one of my favorite projects that didn't quite get completed.
- 23:01And that's the other thing that happens in the physical computing class especially is that we just sometimes don't finish.
- 23:08They're too ambitious.
- 23:10So, one student made, wanted to make a pet rock that took, that had its own Twitter account.
- 23:18And it would take tweets and then decide what the mood of those tweets were.
- 23:24And then display on a little LED matrix, you know, a happy face or a frowny face or something like that.
- 23:32So, that's pretty awesome.
- 23:34Yeah.
- 23:34It was pretty awesome.
- 23:35The hard part about that is working with Twitter.
- 23:38So, that was a big challenge.
- 23:40She got the LED matrix to change its face.
- 23:44And she got, on occasion, the Twitter thing to work, but she couldn't get them to work together.
- 23:49So, it was a little challenging.
- 23:51Yeah.
- 23:52That's a pretty ambitious project.
- 23:53It was.
- 23:54Especially if it's done in C.
- 23:55Yeah.
- 23:57Exactly.
- 23:58I think it's really cool that you have these 3D printers and laser cutters and so on to actually make the things.
- 24:06Because the Internet of Things, so much of it, when people get started, it seems like, okay, well, here you're left with kind of this, like, board with wires coming out of it.
- 24:14Right.
- 24:15Right.
- 24:15And how does that feel like I really built a thing?
- 24:18That's not a thing.
- 24:19That's a board with wires coming out of it, right?
- 24:20Right.
- 24:20Yeah.
- 24:21Yeah.
- 24:21And, yeah, so, my goal is for them to make it look pretty by the end.
- 24:25Or at least, you know, not like a board with wires coming out of it.
- 24:28And most of them got there.
- 24:30They all created, you know, some sort of housing for their project.
- 24:36Some of them made it out of cardboard.
- 24:38I didn't have a laser cutter at the time, but I did have a 3D printer.
- 24:41So, I had a 3D printed, like, music box thing that turned out really well.
- 24:47Yeah.
- 24:48So, they do make that part.
- 24:50It's nice because they can actually, when they get frustrated with the coding, they can say, all right, I'm just going to, you know, start working on the housing.
- 24:58Because that's, you know, it gives them a little bit of a break.
- 25:01Yeah.
- 25:01Let's them focus on different things.
- 25:03That's really cool.
- 25:03Yeah.
- 25:03Yeah.
- 25:04By the way, I have a movie recommendation if you want to inspire them for 3D printing.
- 25:08There's a documentary that just came out called Print the Legend, which is actually super dramatic about the history of, like, how MakerBot got formed and the other competitive ones.
- 25:18So, let's check that out.
- 25:19If you're the listeners, I think it would be helpful.
- 25:22Yeah, that's great.
- 25:23Yeah, surprisingly dramatic.
- 25:25Okay.
- 25:25And the other thing that you teach these girls is iPhone and Android development.
- 25:32Yeah.
- 25:33Which is, that's the hardest thing for me.
- 25:35Because, of course, there was no internet when I went to school.
- 25:38And there was definitely no mobile phones when I went to school.
- 25:41Sure.
- 25:42So, yeah, there was, so I'm constantly changing the language for that.
- 25:46We're mostly, I mean, I personally have an Android, but most of my students mostly have iPhones.
- 25:52You know, Apple basically owns my student population for whatever reason.
- 25:56So, I could use, you know, Objective-C, but it just, it's hard.
- 26:04It's super hard, yeah.
- 26:05Yeah, and a lot of times I will get students who've only had the intro, and so throwing them into something like that is a challenge.
- 26:12So, I'm still thinking about what I'm going to, what language I'm going to use or what framework, really, I'm going to use for that.
- 26:20And I'm looking at possibly using TouchDevelop as, because it's browser-based, it's cross-platform, and that's another challenge I have is, you know, for the students who aren't iPhone people, what if they want to put their, you know, new create game on their phone?
- 26:39And if you use any of Apple's development things, you're stuck with just the iPhone.
- 26:45Right, and if you want to say, well, we're going to teach you Apple and then teach you Android, that's all of a sudden, like, way too much material to cover.
- 26:50Exactly.
- 26:51Because there's not a whole lot of similarities.
- 26:52No, right.
- 26:54I mean, yeah, Java, C, I know, so.
- 26:57Yeah, I mean, there's other stuff like Xamarin and PhoneGap, and they're all okay, but it would be nice if Python had an answer there.
- 27:05There's something, like, Kivy for Android, but not really on Apple, like you said, and that's where the majority of the students are, so.
- 27:12Yeah, yeah, it is a challenge, and it's one of those, the other thing that's a challenge about it is that because, actually, Python and some of the other stuff we work with has kind of instant gratification,
- 27:24the mobile development doesn't have that instant gratification, and it feels painful to them.
- 27:31So, they have been good sports about it, but it is, it's not as, yeah, instantly gratifying as animating something in Python, for example.
- 27:40Yeah, definitely not as developer-friendly.
- 27:41Yeah.
- 27:42I guess the counterbalance there to keep them going is they all have phones, and I have, you know, teenage daughters myself, and they love phones, and so, you know, if they could program that thing, that would be perfect for them, right?
- 27:54Yeah, well, and that's part of why I wanted to look at TouchDevelop is that you can program right on your phone in addition to the browser or any other way that you might program, so that's kind of cool.
- 28:06One thing I wanted to ask you about as well as sort of a more general question is it seems like you guys are treating computer science, you know, really well, actually, as a core skill that you think at least recommend all the girls have.
- 28:21Yeah.
- 28:21Do you think computer science and programming is a core skill?
- 28:24I mean, you hear a lot of, like, hype in the news, like, everybody should learn to code, sort of like the main way I hear it, but what are your thoughts?
- 28:33Yeah, so I'm also on the board of the Computer Science Teachers Association, so I definitely think that, you know, computer science should be part of our core curriculum in some way.
- 28:45It's hard to figure out how to get that into schools.
- 28:50I mean, schools' budgets are super tight.
- 28:52You know, there aren't computer science teachers walking around looking for jobs.
- 28:58It's not like there's a glut of them and that we can just say, oh, there's a whole pool of teachers.
- 29:05Let's just hire them and have them teach our computer science courses.
- 29:07They're all going to work at, you know, startups.
- 29:10That's right.
- 29:11These guys are tired of making six figures at these exciting places.
- 29:14They want to come in, you know, whatever.
- 29:16It has got to be a hard place to hire people.
- 29:19It is.
- 29:19It's very much a chicken and egg problem.
- 29:21It's like if we have the courses, could we fill those courses with teachers?
- 29:27And, you know, we don't have the courses, so there's not demand created for the teachers.
- 29:34So it's just like a really complicated problem.
- 29:37But I think we're getting there in that a lot of states are starting, you know, to make, allow computer science to count as a math or science credit, which is nice.
- 29:49It's Pennsylvania, where I am, has not done that yet.
- 29:53And even though I'm in a private school, I'm surrounded by these fantastic public schools.
- 29:59And so I can guarantee as soon as our state flips to say that computer science is required, we would be right behind them in requiring a computer science course for all of our students.
- 30:10Or allowing it to count for math or science, whichever way it goes.
- 30:14Right.
- 30:15You guys already have the infrastructure there to just say, hey, it's required now, right?
- 30:19Right.
- 30:19Because you've been teaching it.
- 30:20It's not like a school where they have, you know, maybe an HTML class, maybe.
- 30:26Right.
- 30:26Or Photoshop or, you know, a robotics elective.
- 30:29Those are some of the common things they're done.
- 30:32And it's hard because I think computer science is such a broad field.
- 30:36If you're in it, you know that.
- 30:38If you're not in it, you think it's just one thing.
- 30:41It's just coding.
- 30:42And maybe even in a specific language as opposed to the, I don't know how many languages there are now.
- 30:47There are probably several hundred programming languages.
- 30:51So, you know, most people have no clue that that's the case.
- 30:55So they, you know, defining what would be that required course, I think, is kind of the hard thing for people who have no idea what computer science is.
- 31:04Right.
- 31:05If you could convince them that this is a thing they need, then they'd be like, well, geez, where do we start?
- 31:08It's so overwhelming, right?
- 31:09Right.
- 31:10It is.
- 31:11Yeah.
- 31:12Yeah.
- 31:12And I think, you know, and I do, even though the core of my courses is coding and programming, we take an awful lot of time to also just kind of talk about some of the theory of computer science as much as I think that they can get as 14-year-olds.
- 31:28You know, we talk about algorithms and we talk about, you know, different kinds of algorithms.
- 31:32And we spend a lot of time talking about how it touches their lives.
- 31:37I mean, it's great when you can talk about an algorithm and connect it to Facebook's algorithm for, you know, showing and hiding different parts of your news feed.
- 31:47And then there's all the fun, you know, hacking that happens that always comes up.
- 31:52So, you know, it's pretty easy to connect it to the real world and then talk about the things that they've already learned that are somewhat related to what's going on.
- 32:01You know, if you've done an encryption project, then you sort of know how those hacking things happen.
- 32:08I think there's some sort of, not barriers, some preconceptions or misconceptions rather that a lot of the population has that if we could break them, this would really change.
- 32:22Like, for example, computer programming is boring and not creative.
- 32:27Right.
- 32:27It's a non-social thing you go do in the basement by the dark because you don't like other people.
- 32:33I mean, you know, it's completely the opposite of that in today's world, right?
- 32:37And if everybody saw that and they could, I don't know, you could think, well, maybe should we be doing geometry?
- 32:43Right, right.
- 32:44Or should, maybe we should be teaching programming in this slot where geometry about logical thinking through, like, axioms was the goal, right?
- 32:53It would be so much better, I think, to do some sort of computer thinking there.
- 32:57This episode is brought to you by Codeship.
- 33:15Codeship has launched organizations, create teams, set permissions for specific team members, and improve collaboration in your continuous delivery workflow.
- 33:23Maintain centralized control of your organization's projects and teams with Codeship's new organizations plan.
- 33:29And as Talk Python listeners, you can save 20% off any premium plan for the next three months.
- 33:34Just use the code TALKPYTHON, all caps, no spaces.
- 33:38Check them out at Codeship.com and tell them thanks for supporting the show on Twitter where they're at, Codeship.
- 33:43I agree.
- 33:50Yeah.
- 33:50I mean, it's funny because, you know, I mentioned that my major was creative writing.
- 33:54And I swear, programming is a much more creative endeavor than writing poetry in a lot of ways.
- 34:01It sounds weird.
- 34:02And poetry is very isolating.
- 34:04You know, you're in a room, you're writing poems, and maybe eventually someone reads them or you read them to someone.
- 34:10But, you know, when you're making a website, everyone's going to see it.
- 34:16You know, you put it up on the web and you make it public and you can tweet it and put it on Facebook and everyone can see it.
- 34:22And that's pretty cool.
- 34:24Yeah.
- 34:25It's very, there's very few other places in the world that five people can get together for six months and build something and share it with 100 million people.
- 34:34Right.
- 34:35Yeah.
- 34:35Where else does that happen?
- 34:37Yeah.
- 34:37Nowhere.
- 34:38Nowhere.
- 34:38So it's really amazing.
- 34:40So I think what you're doing there with having, you know, that much exposure over time, do you, I should ask you, do you feel like your students are coming out with better conceptions?
- 34:52I do.
- 34:52I think that they definitely feel like it's not isolating and it's not lonely and that they're making really creative and interesting things.
- 35:04Hopefully they're carrying that on to their classmates and beyond.
- 35:09Certainly I've seen an increase in enrollment.
- 35:11So that probably tells me that they're telling their friends that it's really cool and fun and not, you know, boring and awful the way that, you know, TV and film tends to make it look.
- 35:23So, yeah, I think my hope is that when they graduate and go on and not all of them, you know, just like math teachers don't expect all their students to become mathematicians.
- 35:37I don't expect all my students to necessarily become computer scientists.
- 35:40But I think having that deeper understanding of technology that goes beyond, you know, being able to post to Facebook is really important because I have yet to find a job or area or field that doesn't benefit from having that deeper understanding of technology, of how things really work under the hood.
- 36:05You know, I keep getting pulled into things just here locally at school because I'm one of, you know, two people on campus that has that deeper understanding of, you know, how a database works and how it connects to the web and how, you know, that gets pulled in different places.
- 36:21And I can't think of a single field or job that technology isn't important.
- 36:28It's how businesses operate, you know.
- 36:30It absolutely is.
- 36:32And if, you know, if somebody wants to become a biologist, they're way more likely to be successful if they can do a little programming to automate their data analysis.
- 36:41Exactly.
- 36:42Or if they want to become, I don't know, a social scientist, right?
- 36:48Like a sociologist, psychiatrist, something like, again, the programming.
- 36:52Yeah, you've got to crunch the data.
- 36:54Exactly.
- 36:54And I think CS probably is a core skill, at least as much as geometry and those things are.
- 37:03Yeah.
- 37:03Absolutely.
- 37:05That's my thought.
- 37:06Me too.
- 37:07I'm with you.
- 37:08Let's change the world.
- 37:09Let's do it.
- 37:10Let's do it.
- 37:10So one event that I wanted to ask you about that's about changing the world that is making a small dent is Hour of Code.
- 37:16Are you guys doing anything with that?
- 37:18Yeah, we are.
- 37:19I just bought off of eBay about 400 or 500 punch cards to use as invitations for our Hour of Code.
- 37:30We have done different things in the past.
- 37:34We've done an evening event and invited people and we have them kind of learn how to code and we actually have the students do the teaching.
- 37:41We're going to do it a little bit differently this time.
- 37:44We're going to have it be a whole day event on a weekend when more people can make it.
- 37:51It's a terrible time of year to have it because it's December and up here in the north anyway, the weather can interfere with anything you might have planned.
- 38:00But we're going to run a three-hour workshop.
- 38:03We have a partnership with Tech Girls, which is a local organization that provides free workshops for middle school girls to learn programming primarily.
- 38:15So we have taught a few of those ourselves.
- 38:18We offer our space as a resource for them.
- 38:21And we're going to partner with them specifically for CS Education Week and have them.
- 38:28We're running a workshop for their population.
- 38:31And then we're going to have a showcase afterwards of both the projects that get created in that workshop and the projects that our students have created.
- 38:39And we're hoping to have a speaker and food and all that good stuff.
- 38:42That's really awesome.
- 38:44Are you looking for volunteers?
- 38:45Probably, yeah.
- 38:48Yeah, cool.
- 38:49So if you're in the Boston area, maybe think about throwing your name out there.
- 38:53You know, I live in Portland, Oregon, even though I'm spending a year in Germany, right?
- 38:58And so I've been helping out my – I have three daughters.
- 39:01I've been helping out their school during the Hour of Code.
- 39:03Oh, cool.
- 39:04And it was just so successful.
- 39:07I think the teachers and the principals were just blown away with what the kids could do.
- 39:11Even first graders were just amazing.
- 39:14And when you're working at first grade, second grade, third grade, those levels, there's no difference in the way that the girls or the boys perceive it in terms of excitement or energy or whatever.
- 39:26Like something happens later, but if we can, you know, drive that interest early, then, you know, I think that could make a big difference.
- 39:33I agree, yeah.
- 39:34I guess regardless of where you are, you know, think about helping out the Hour of Code.
- 39:37There's Hour of Code, which is December 8th, around then.
- 39:41You know, there's so many resources out there that you don't have to put much effort into it, right?
- 39:46You can go over to the Hour, you know, code.org, find some sort of pre-built, like, you know, teaching thing for the right level and just help kids through it is really all people got to do, right?
- 39:56Yeah.
- 39:57I mean, it's just, yeah, running them through it, letting them see what they can do.
- 40:01And there's, yeah, like you said, there's so many resources online now, which is great.
- 40:05Yeah.
- 40:05It's definitely easier than when we were learning back in the day.
- 40:08Yes.
- 40:09Yeah.
- 40:09Yeah.
- 40:10You don't have to drag the book out.
- 40:11That's right.
- 40:12Look stuff up.
- 40:15Laura, is there anything else you want to cover before we kind of wrap things up?
- 40:19I don't think so.
- 40:21This has been great.
- 40:22I mean, if we can get Python to come up with a mobile computing platform, that'll solve all my problems.
- 40:27I can just stay in Python forever.
- 40:29That would be fantastic.
- 40:30You know, it's not completely insane, right?
- 40:32We've got things like PyPy, which are JIT compiled Python.
- 40:36If we could switch the JIT compiler to an ahead-of-time compiler and get it to compile towards the right thing, right?
- 40:43Maybe we could have us a model what the Xamarin guys are doing with C#, right?
- 40:48Yeah, exactly.
- 40:49Which isn't natively allowed on iPhone, but they've found a way to compile it for it.
- 40:52So we can hope, right?
- 40:53We can hope.
- 40:54I don't have time to work on that, but I'm going to put that out there.
- 40:58Somebody else can do it.
- 40:59Yeah, so we'll throw the idea out.
- 41:01How's that?
- 41:01That sounds good.
- 41:02Awesome.
- 41:02So let me ask you two quick questions before you go.
- 41:05For Python, what's your favorite editor?
- 41:07I have to say, I kind of like PyCharm.
- 41:12It's been nice.
- 41:14Although I tend to work on the web a lot, so I'm using just your basic text editor for that.
- 41:20Right, some kind of web IDE or a sort of smart text editor, rather.
- 41:25Exactly.
- 41:25I like color coding.
- 41:27It's kind of my favorite thing.
- 41:28At least in syntax highlighting.
- 41:29Awesome.
- 41:30And then are there like PyPI packages that you guys use that are really awesome you want to point out or raise awareness of?
- 41:37What do you guys do in your classes that's really cool and well-received?
- 41:41We've used NumPy a little bit or NumPy, depending on how you want to say it.
- 41:46I like NumPy myself.
- 41:47It just sounds like it's a soft, fuzzy, like, you know, Barney creature.
- 41:52Students went a little nuts with the libraries last year, and they're just downloading crazy stuff.
- 41:58They really were.
- 42:00They probably downloaded 10 or so random libraries just to try to get stuff off the Internet.
- 42:05We used, and I can't remember what it was, we used a couple of different Twitter packages that worked pretty well,
- 42:11which was nice considering our Arduino Twitter packages didn't work.
- 42:16So Python wins in that regard.
- 42:19They worked great.
- 42:20We were able to pull tweets really easily.
- 42:22I think there's a tweet.
- 42:23Is it Tweepy?
- 42:24I think that was the one we ended up using.
- 42:26Okay, cool.
- 42:26Yeah, people should check that out if they want to integrate with Twitter.
- 42:29Yeah, Twitter can be tricky if you don't have, you know, all that OAuth stuff.
- 42:32It's way more complicated than it sort of seems like it should be at first.
- 42:35Yeah.
- 42:36Well, this we got running in like five minutes, so it was pretty easy.
- 42:39Yeah, that's the way to do it.
- 42:41Laura, this has been really interesting.
- 42:43So I think you guys have a great mission, and it seems like you're making great progress.
- 42:47There's almost no other high school I've seen that has, you know, four years of really interesting, modern-feeling computer science classes.
- 42:55Well, thank you.
- 42:56Thanks for putting that out there and leading the way.
- 42:58Yeah, thanks a lot.
- 43:00Yeah, thanks for being on the show.
- 43:01Talk to you later.
- 43:02All right.
- 43:03Bye.
- 43:06This has been another episode of Talk Python To Me.
- 43:09Today's guest was Laura Blankenship, and this episode has been sponsored by Hired and CodeShip.
- 43:13Thank you guys for supporting the show.
- 43:16Hired wants to help you find your next big thing.
- 43:18Visit Hired.com slash Talk Python To Me to get five or more offers with salary and equity presented right up front and a special listener signing bonus of $4,000.
- 43:27CodeShip wants you to always keep shipping.
- 43:31Check them out at CodeShip.com and thank them on Twitter via at CodeShip.
- 43:35Don't forget the discount code for listeners.
- 43:37It's easy.
- 43:37Talk Python.
- 43:38All caps.
- 43:39No spaces.
- 43:40You can find the links from today's show at talkpython.fm/episodes slash show slash 27.
- 43:46Be sure to subscribe to the show.
- 43:49Open your favorite podcatcher and search for Python.
- 43:51We should be right at the top.
- 43:53You can also find the iTunes and direct RSS feeds in the footer of the website.
- 43:58Our theme music is Developers, Developers, Developers by Corey Smith, who goes by Smix.
- 44:03You can hear the entire song at talkpython.fm.
- 44:06This is your host, Michael Kennedy.
- 44:09Thanks for listening.
- 44:10Smix, take us out of here.
- 44:25Developers, Developers, Developers, Developers, Developers, Developers, Developers, Developers,
- 44:33Bye.
- 44:33.