Latest / Talk Python To Me / #374: PSF Survey in Review
Transcript
- 0:00Every year, the PSF and JetBrains team up to do a Python community survey.
- 0:04The most recent one was fall of 2021. For this episode, I've gathered a great group of Python
- 0:10enthusiasts to discuss the results. I think you'll really enjoy the group discussion on this episode.
- 0:15You have Gina Houska, Emily Morehouse, Tanya Sims, Brett Cannon, Jay Miller, and Paul Everitt
- 0:21here to help us with the episode. This is Talk Python To Me, episode 374, recorded June 30th,
- 0:282022. Welcome to Talk Python To Me, a weekly podcast on Python. This is your host, Michael Kennedy.
- 0:47Follow me on Twitter where I'm @mkennedy and keep up with the show and listen to past episodes
- 0:52at talkpython.fm and follow the show on Twitter via at talkpython. We've started streaming most
- 0:58of our episodes live on YouTube. Subscribe to our YouTube channel over at talkpython.fm
- 1:03slash YouTube to get notified about upcoming shows and be part of that episode.
- 1:07This episode is brought to you by Sentry and their awesome error monitoring product, and it's brought
- 1:14to you by Compiler from Red Hat. Listen to an episode of their podcast as they demystify the tech industry
- 1:20over at talkpython.fm/compiler. Transcripts for this and all of our episodes are brought to you by
- 1:26assembly.ai. Do you need a great automatic speech to text API? Get human level accuracy in just a few
- 1:31lines of code. Visit talkpython.fm/assembly.ai.
- 1:36Brett, Jay, Tanya, Emily, Paul, and Gina, welcome all of you to Talk Python To Me.
- 1:41Thanks, Michael.
- 1:42Hey, everyone.
- 1:42Hey.
- 1:43Hello.
- 1:43It's really great to have you here. I'm super excited to have a conversation around the whole
- 1:49community of Python survey results. Thank you to the PSF and JetBrains for putting the survey
- 1:55together. Thank you all for being here. And I want to invite a bunch of you so that we could have a bunch
- 2:00of different perspectives and thoughts and ideas on where we are. So that's going to be so much fun.
- 2:05But let's do a quick round of introductions. Brett, open source contributor extraordinaire.
- 2:12So my name is Brett Cannon. I'm in charge of the Python experience for VS Code. I'm also a core
- 2:19developer for 19 years now. I'm a member of the Python Steering Council since its founding,
- 2:24and I'm calling from Vancouver on the unceded territory of the Squamish, Musqueam, and Tsleil-Waututh
- 2:29First Nation.
- 2:29All right. Great to have you here. Thanks for all the Python things you've done. Jay.
- 2:33Yeah. I'm Jay Miller. I'm a senior cloud advocate at Microsoft. I work with our Python advocates.
- 2:38And yeah, it's my job to keep Brett looking so amazing. Or at least talk about the amazing stuff he's
- 2:46done.
- 2:46That's right. Spread the word.
- 2:48Tanya.
- 2:49Hey, everyone. My name is Tanya. I'm currently a Python developer advocate at
- 2:53Deepgram. We're an AI speech-to-text company. So before I got into Python, I was a professional
- 3:00athlete. So I'm like a pro athlete, turned, worked in sales for a little bit, and then
- 3:04gotten the tech after. But thanks for having me today. It's good to be here.
- 3:07It's great to have you. And I love your story because it shows you don't have to just grow
- 3:10up doing code from a young age to be really great at this and how fun it must have been
- 3:15to be a pro athlete. So cool.
- 3:16Thank you.
- 3:16Yeah. Emily, great to have you here.
- 3:19Yeah, absolutely. Hi, I'm Emily. I am the director of engineering at
- 3:23at a software consultancy called Cuddlesoft. I'm also a CPython core developer and the
- 3:29recovering PyCon US chair from the last three years.
- 3:32Yeah, great work. It sounded like people I talked to had a wonderful time there. So
- 3:36good job on PyCon. Paul, nice to have you back.
- 3:39Hi, everybody. I'm Paul Everitt, developer advocate at JetBrains, a teller of semi-true stories
- 3:47of Python history and really happy to be with the six of you. This is a cool panel.
- 3:53Yeah, I'm happy to have you here. It is a cool panel. Gina, you were not too long ago on Python
- 3:59Bytes, as was Tanya as well. But it's great to have you over here on Talk Python.
- 4:03Yeah, thank you for having me. Yeah. So my name is Gina Huiske. I'm the creator and maintainer
- 4:08of something called Octoprint, which is the snappy web interface for your 3D printer and which is
- 4:12written at Python, which is why I'm here, I guess. So hi.
- 4:15Hi. And people who are not watching, I think you've got just the coolest office setup. You've
- 4:21got your laser cutter and 3D printer and stuff that you've created with your your makerspace
- 4:26that set up a really nice camera AV setup. So it's fantastic.
- 4:30And a three headed monkey.
- 4:31And a three headed monkey, of course.
- 4:32Right behind you.
- 4:33I love it. All right. Paul, do you want to maybe say a few things about the relationship
- 4:39of the PSF and JetBrains and sort of a little bit of background in the survey to just maybe
- 4:45introduce a virtual quick since JetBrains was part of it? If I go and look at the results
- 4:50here when we get to them, it's at jetbrains.com. But it's not really a JetBrains survey, is it?
- 4:55No, not at all. It's interesting. When I was doing the prep for this, I was like, how far back
- 5:00does this go? Damn, this thing goes back to 2016. Wow. Which is interesting to see some changes
- 5:06over time. But this was kind of a brainchild back then. Well, we got a need. Python has a
- 5:12need. Let's do it together. But then it kind of turned into PSF steering the ship and JetBrains
- 5:17just doing what it was told for. Conducting the survey, doing a little bit of throwing smart
- 5:24brains at it from our research folks to do statistical validity, trying to add new questions, but preserve
- 5:30old ones so that we could see trends over time. So this is now the PSF survey. And I think that's
- 5:36a great resource because we all have these questions, right? Yeah. Yeah, we absolutely do. And one of the
- 5:41things I remember when I was reading about it is it wasn't conducted on the JetBrains site. This was on
- 5:47python.org, right? Yeah. It's hard because it can feel like, well, it becomes a selection bias because
- 5:54it's affiliated with JetBrains. And so over the years, we've really tried to turn this into kind of a
- 5:58contribution to the community. Let the PSF kind of dictate what it wants to see and how things should
- 6:04be organized and conducted. Yeah. Yeah. Brett or Emily, anything you want to add to that since
- 6:09you're a little bit on the inside? No, I mean, Paul nailed it on the head. It's a great partnership
- 6:14between the PSF and JetBrains. Like, as I said, it's mainly questions coming from the PSF and the JetBrains.
- 6:19Folk happened to help do it. Make the Spiffy website with the awesome cookie policy pop up in the
- 6:25corner. I still think you all have the best one in the industry. Yes. You could
- 6:28type in it. It's a console, right? Yeah. That's pretty cool. We can talk about it later,
- 6:32but like the development residence questions, for instance, all came straight from Wukash.
- 6:35And it's basically asked Wukash to come up with those and such. So it's great collaboration.
- 6:40Yeah, absolutely. Cool. All right. Let's, I'm going to pull this up here. And for folks who want to
- 6:47check it out, obviously there's not going to be probably that many links in the show notes,
- 6:51but there's the one, the one important one, which is the Python developer survey 2021 results. So
- 6:59one thing to keep in mind as we talk about this is it's a bit of a historical look a little bit. So
- 7:04this was conducted in the fall of 2021. And here we are in the summer of 2022. So for example,
- 7:12there's questions about Python 310, right? I'm sure the adoption is higher of that now than it was,
- 7:16was that eight months, seven months ago, something like that. So keep that in mind. And so, yeah,
- 7:22what do we want to say that actually links back to the previous results as well, which is really good.
- 7:26I went through a bunch of different areas. And so I think the first, we're just going to go through it
- 7:31in order and maybe skip some that are not, you know, maybe too detailed or something. But the first one
- 7:36is, are you a Python developer or are you a developer that also happens to use Python? And for the people
- 7:45who took the survey, you know, granted, they're going to python.org to see this, or they were
- 7:49encouraged on Twitter from Python people to go take the survey. And it's 84% of the people are using
- 7:55Python as their main language. I personally think that's pretty high. I think that's, that's a pretty
- 8:00positive number here. What do you all think?
- 8:03I'd be curious what the bias is. Like, I wonder what would happen if this made the front of Hacker News
- 8:07and what this number would then be. Because for instance, I know plenty of people who complain at
- 8:13me at work about why is this Python stuff kicking up? I only use this script every two months kind of
- 8:18thing. So I know lots of ancillary uses of Python all over the world. So I'd be really curious.
- 8:24Obviously, this does not really represent the world itself. So I think it just at least helps set a
- 8:30guideline as it is, as it were, as to how to view these results more than an actual number we can rely
- 8:36on for the overall computing world.
- 8:38Yeah, I think it's interesting, because if I remember correctly, this question was sort of a
- 8:42self-selection of how you identify. So I definitely say like, yeah, I am a Python developer. But if I am
- 8:49realistic about the actual code that I'm writing on a daily basis, I'm definitely not like primarily
- 8:55writing Python. So I think that this really sort of frames the perspective of the person filling out
- 9:01the survey to say like, yes, Python is my main language of choice in whatever way that might be,
- 9:06but it might not actually be the thing that they're writing the most code for.
- 9:09Sure. I'd like to hear your thoughts of this from everyone. But my view of the Python world
- 9:15is it basically breaks into three pieces. We've got the web developer, web API sort of folks.
- 9:22We've got the data scientists, and we have this massive other, you know, scientists, economists,
- 9:29maker folks, programming little devices. And it seems to me that the first two, the web and the
- 9:37data science would probably really be the main, right? They would just live in Python. But that other
- 9:43group, they might drop into Python to just, oh, I heard there's this library, and it'll give me this
- 9:48picture that I need and then go back to whatever they were doing, something like that.
- 9:51Yeah, I guess too. Like I was, that actually made me think about like, like when you were collecting the
- 9:56survey results for this one, like what levels, like, did you ask like what level they were at? Like
- 10:01maybe more junior, senior, mid-level? Because I feel like maybe someone maybe just starting out in Python,
- 10:06you know, maybe that's like their own, like their main language that they're using versus someone who's
- 10:11more senior or more experienced. Maybe they were using, you know, secondary languages as well.
- 10:15Yeah, that's a very good observation. There's a section on the how junior or senior people are,
- 10:20which I think is pretty interesting. Jay, you're, you've been doing some of the developer
- 10:25relationship stuff. You probably got to think about this sort of breakdown a lot. What are your thoughts?
- 10:29I do. And my history comes from being a tinker slash automator. So often had to use whatever tools
- 10:37I was told to use and find ways to inject Python into it. What I'm glad to see is now, I think that's
- 10:46the case for most people. Like you said, that is that, that bubble that the Python community is vastly
- 10:52growing in of people who are, I'm using Python to do this thing in my job that isn't as a developer.
- 10:58And it's nice to see that I think more and more use cases of Python are becoming available so that
- 11:05I don't have to go reach for whatever the parent language is in my project. I can go and just use
- 11:11Python for most things. I think that while a part of this is, you know, we're looking at this data set
- 11:16as people who love Python, wanting to come in and talk about Python and share their thoughts and
- 11:20feelings about it. But I also recognize that had you asked me this very question three years ago,
- 11:27I would have had to give a different answer. So yeah, I think that it's great that that number can
- 11:32go up because of the growth of Python from a technical standpoint.
- 11:36Yeah, great point. Gina?
- 11:37Yeah, that pretty much mirrors what I was about to say, because when I started with Python, when I
- 11:43got the first time into touch with it, that must have been sometime around 2007,
- 11:492008-ish. So a really long time ago when I actually was still a system administrator at university in the
- 11:56computer science department. And I used Python to automate some stuff like maintenance things and
- 12:03bookkeeping and whatnot. So I distinctly remember writing a label tool for the backup drives. And back
- 12:10then, if you had asked me this question, I would certainly not have said I'm a Python programmer. And I'm not
- 12:14even sure I would have said that Python is my secondary language because it would probably rather have been my tertiary or whatever the word is for forces.
- 12:22And even 10 years ago, I would still have identified as a Java developer with maybe a bit of background in Python and a lot of JavaScript, HTML, CSS, and Bash stuff thrown in. But these days, yeah, I've also moved to someone who would call themselves a Python developer. And I kind of find it funny that apparently many more people have made the same transition over the years. That is kind of amazing to see.
- 12:47Yeah, there's definitely a large influx of people moving in. So related to that, you said you had done Java. And actually, right now I'm working on Dart. I'm trying to maybe do some Flutter mobile app stuff to augment our courses and whatnot. And there's, you know, it's,
- 13:04Tanya had a great point where she said, you know, the more junior you are, you might just be learning one language now. But then as you grow, you're like, well, I really need to learn this other language to do this thing. So the next question was, well, what are you using in addition to your Python code, regardless of whether it's your primary or second? You know, are you doing JavaScript?
- 13:24Do you in HTML? Are you doing C#? Or Rust? Or Go? And I think these questions are, they're always really hard to pick. Because for example, HTML and CSS, that seems like a valid question. But on the other hand, it's not really a standalone programming language. Like no one would introduce themselves like, hey, I'm Michael. I'm a CSS developer, full stack, by the way.
- 13:47You know, it's so should it really be a thing that pairs with that or not? It's a tricky for me to decide. But for that question, the most paired up language is JavaScript, and then HTML and CSS. And then we've got, you know, sort of to genius point, bash or shell scripting and SQL. I guess if you look at programming languages, we probably have JavaScript, and then C++, and then Java, and then C#. This is pretty interesting what people pair it with. I think you got to, you know, I talked about the third of sort of web developer side.
- 14:17That clearly is the 40-30% of, you know, JavaScript and HTML. And then I think it gets pretty interesting. What stands out to everyone here?
- 14:47and may not quite view themselves as Python developers,
- 14:49even though they are, right?
- 14:50And I think this kind of plays into that
- 14:52with the whole JavaScript, HTML, CSS,
- 14:54covering that web group and then Bash shell
- 14:56covering that cohort.
- 14:58And then SQL kind of cross-cuts across web and data science.
- 15:00So I think it kind of is interesting.
- 15:02I also personally hope C++ group drops
- 15:05because people write more Python and less C and C++
- 15:07with all the performance coming in Python 3.11
- 15:10in the future.
- 15:11But that's just a personal wish.
- 15:13Yeah.
- 15:13Paul, you're pumping your fist there
- 15:15at some C++ being overtaken by more Python.
- 15:18I will start by giving the first of 20 consecutive compliments
- 15:22to Brett, who is reviewing WebAssembly pull requests,
- 15:28probably as we speak.
- 15:29He's got two or three other Bretts back in the back
- 15:31that are doing the pull request reviews.
- 15:34But as WebAssembly becomes a thing,
- 15:37then maybe Brett's mission to demolish C#
- 15:40will take effect.
- 15:42I'll take exception to the HTML ain't a language.
- 15:45The L language.
- 15:47Come on.
- 15:48Give it some love.
- 15:49And Stack Overflow says it's the number one language.
- 15:51So maybe the only thing I'll add
- 15:53that was interesting to me on this
- 15:54is seeing the change since 2016,
- 15:56because this is a question that's been asked every time.
- 15:59Fairly stable wording on it.
- 16:00Hasn't changed that much.
- 16:02The top five are the top five.
- 16:04SQL has bounced around.
- 16:06If I remember correctly, last year it was number one ahead of JavaScript
- 16:10at 43% or something like that.
- 16:12And I kind of thought, well, that's data science kicking in.
- 16:15But then this year it took a little bit of a drop.
- 16:17Question about the makeup of this language.
- 16:19Was this a kind of a multiple choice thing?
- 16:21Or did you have to?
- 16:22Okay.
- 16:22So you could say JavaScript, HTML, dash.
- 16:24I remember taking the survey,
- 16:26but I cannot remember the question on it.
- 16:28Yeah, yeah.
- 16:29Gina, the little giveaway is that there's this 100 plus at the top,
- 16:34which means like people can pick more than one.
- 16:36Okay, okay, okay.
- 16:37When you see that at the top by a second, yeah.
- 16:39I should add that the anonymized cleaned up data sets
- 16:43are available for all you smart people who can do cross.
- 16:46If they want to do SQL against their CSV.
- 16:51I have tried to escape JavaScript for a while.
- 16:55And I just feel like I'm not able to escape it.
- 16:56And it's like, you know, I have, you know.
- 16:58There is no escape.
- 16:59I'm going to still escape from JavaScript.
- 17:01I've just given up.
- 17:02Yeah.
- 17:02I am curious to see though, how, you know,
- 17:04like as the development of, you know, PyScript,
- 17:06as it develops, like if that JavaScript number will stay the same
- 17:09or if it's going to like kind of drop off a little bit.
- 17:11And then, I mean, I know Bootstrap isn't a language.
- 17:14It's more of a front end framework.
- 17:16But, you know, this kind of made me curious, you know,
- 17:18like are Python developers using Bootstrap more with their applications
- 17:21or are they using straight JavaScript?
- 17:23Are they using, you know, vanilla HTML and CSS?
- 17:26I could imagine that React is pretty much featuring very highly there
- 17:31and maybe also Angular and Vue.js as well,
- 17:34which is also how I explain that maybe JavaScript is actually ranked up higher
- 17:38than HTML and CSS because if you write React in these days,
- 17:42you pretty much only interact with JavaScript code
- 17:44and you might throw snippets of stuff in there that looks like HTML
- 17:48but actually isn't.
- 17:49So people in that case would probably more identify as the JavaScript crowd
- 17:52or maybe the TypeScript crowd.
- 17:54So, yeah.
- 17:55Dina, do you use a lot of other languages
- 17:57or technologies for your devices and embedded things and so on?
- 18:01I used to have this thing that I try to learn a new language
- 18:04every other year or so,
- 18:06but then life happened and I haven't been up to that
- 18:09for the last, I don't know, 13 years or so now.
- 18:11I can say that in my day-to-day,
- 18:13I probably mostly use Python, JavaScript, Bash as well a lot.
- 18:18No Java anymore, thankfully.
- 18:19SQL here and there maybe as well,
- 18:22but I think that is about that.
- 18:24I mean, sometimes I also have to touch C or C++ code,
- 18:27but I try to really avoid it
- 18:29because I know my weaknesses,
- 18:31pointer arithmetics,
- 18:33and forgetting to free up memory,
- 18:34so I stay away from languages
- 18:36that allow to shoot myself a little too much.
- 18:38Yeah, even if you're good at it,
- 18:40it's just, it's a hassle if you can avoid it.
- 18:42Final thought on this one,
- 18:43Emily, you said you were doing other languages as well.
- 18:46One, being a core developer,
- 18:47C++ is probably something that you've got to mess with,
- 18:50or C rather, being CPython,
- 18:53but what stands out to you here?
- 18:55Yeah, I think that most of my contributions
- 18:57to CPython have been C and not Python.
- 19:00Yeah, I think it's interesting.
- 19:01I think it's very clear that web development
- 19:03is very much at the forefront.
- 19:04I think being able to sort of ingest this data
- 19:08and make meaning of it does get really difficult
- 19:10because you look at HTML, CSS,
- 19:12and there's so many different ways that it can be used.
- 19:15So it's like, oh, like,
- 19:16are these people writing Django or Flask applications
- 19:19and they're also including that?
- 19:20Or do they happen to be writing a React front end
- 19:23and are considering it in there?
- 19:25So I do think that that's interesting
- 19:27and just sort of a difficult thing
- 19:29to really like take that meaning out of it.
- 19:31But I think it's very clear that there is some section of people
- 19:36who are still looking for things that are more similar to Python elsewhere, right?
- 19:42So you can't get away from JavaScript.
- 19:44As we all know, there's really not a good substitution
- 19:47for something like HTML, CSS, if that's what you're building.
- 19:50But you see things in here where there's, you know,
- 19:52there's Go, there's Rust,
- 19:53things that people might be leaning towards
- 19:55when they need something that's a bit more performant
- 19:58or feeling a different need for them.
- 19:59I think it's interesting that those are still
- 20:01making a meaningful enough impact
- 20:03that they're making this list.
- 20:04And I think it will be interesting to see how this changes
- 20:07over the next few years with, you know,
- 20:10improvements of Python performance.
- 20:11This portion of Talk Python To Me is brought to you by Sentry.
- 20:17How would you like to remove a little stress from your life?
- 20:19Do you worry that users may be encountering errors,
- 20:22slowdowns, or crashes with your app right now?
- 20:26Would you even know it until they sent you that support email?
- 20:29How much better would it be to have the error
- 20:31or performance details immediately sent to you,
- 20:33including the call stack and values of local variables
- 20:36and the active user recorded in the report?
- 20:39With Sentry, this is not only possible, it's simple.
- 20:42In fact, we use Sentry on all the Talk Python web properties.
- 20:46We've actually fixed a bug triggered by a user
- 20:49and had the upgrade ready to roll out
- 20:51as we got the support email.
- 20:52That was a great email to write back.
- 20:55Hey, we already saw your error and have already rolled out the fix.
- 20:58Imagine their surprise.
- 20:59Surprise and delight your users.
- 21:01Create your Sentry account at talkpython.fm/sentry.
- 21:06And if you sign up with the code talkpython, all one word,
- 21:09it's good for two free months of Sentry's business plan,
- 21:13which will give you up to 20 times as many monthly events
- 21:16as well as other features.
- 21:17Create better software, delight your users,
- 21:20and support the podcast.
- 21:22Visit talkpython.fm/sentry
- 21:24and use the coupon code talkpython.
- 21:29It's hard to tell from these little graphs that shows year over year change.
- 21:32And the one that seems to have grown the most is Rust.
- 21:35And I feel like there's a lot of people starting to pair Rust with Python
- 21:39instead of C with Python for some of those internals.
- 21:42Pretty interesting.
- 21:43Okay.
- 21:43Languages for web and data science.
- 21:45They break this stuff all down.
- 21:47This next question here asks,
- 21:49Python usage as a main or secondary language for a certain purpose.
- 21:54So maybe we could touch on top four or five here.
- 21:58Data analytics.
- 22:00Python is the main language, but only by 4%, right?
- 22:05And then web development.
- 22:06It seems like Python is more of the main language and so on.
- 22:10But for example, DevOps, as Gino was sort of talking about
- 22:13in system administration,
- 22:15it's a secondary language that people bring in.
- 22:17So yeah, Tanya, were you going to jump in there?
- 22:19I was just kind of nodding my head about the data analysis,
- 22:23the, you know, the 52% and just thinking like, you know,
- 22:26what else are they using?
- 22:27Are they using R instead of Python for data analysis or something else?
- 22:30Or just kind of made me think of that.
- 22:32It's a real good question.
- 22:33I don't know the answer.
- 22:33Maybe some other folks do.
- 22:35What are they using?
- 22:36If not the second language.
- 22:37I don't even think it was necessarily like a language.
- 22:39I think it was,
- 22:39where is the data coming from and how do you get into it?
- 22:43That was one of the things where I've been a massive advocate for working with public data
- 22:48and using tools like Socrata that provide REST APIs for a lot of that data.
- 22:52But when all of a sudden you're working at a project and you have a map and the map is only GIS data
- 22:58and you're like, well, yes, I could.
- 23:01I could start doing like neonatum stuff or I could just use what they give me.
- 23:07And unfortunately, a lot of data like that is kind of locked into however they decide to give it to you,
- 23:14albeit sometimes a CSV file that has, you know, 2,000 columns to it.
- 23:20So you're like, you know, it's almost terrifying to open up Pandas or open up, you know, just Python import CSV and run with it.
- 23:28So you just kind of use whatever they've given you to use.
- 23:31But I'm glad that there are services.
- 23:33Again, like that's going to be my repeating sentiment is I'm glad that there are more and more things coming out
- 23:40that make using Python with a lot of these tools a little bit more accessible to beginners.
- 23:46And I would say enthusiasts.
- 23:48I'm not a data analyst.
- 23:50I'm not a data scientist.
- 23:51I don't even pretend to be one.
- 23:53I'm just someone that loves looking at data and says, what can I discover from it?
- 23:58Yeah, very cool.
- 23:59Gina, how does that DevOps system administration breakdown for you?
- 24:02Does that resonate?
- 24:03Absolutely.
- 24:04Because frankly, even though I now consider myself a Python developer,
- 24:08whenever I have to get into DevOps administration stuff,
- 24:11the first thing that I try to use to solve any given problem that I have is shell script.
- 24:16Once that reaches a certain level of complexity and I start to slowly but surely lose my sanity over it,
- 24:24then I switch it over to Python.
- 24:25The first approach is usually just, I don't know, three or four lines of best script.
- 24:29Then suddenly all ton of logic ends up in it.
- 24:32Then I might need an argument parser.
- 24:34It's a point.
- 24:35And then Python starts to look more attractive at that point.
- 24:39But if it's really just chaining a bunch of units commands together and throwing JQ against the JSON dump
- 24:45or something like that, then it's just, I don't know.
- 24:47The shell script is just faster.
- 24:48Yeah.
- 24:49And no dependencies.
- 24:50It's just right there.
- 24:51Yeah.
- 24:51It just works.
- 24:52Like maybe I have to install one single command line tool or statically linked even maybe.
- 24:57And then I'm done.
- 24:58So yeah, when I can do that, I prefer doing that because then I don't feel like I have to maintain something now.
- 25:04Emily, the one that stands out to me most here is that the biggest I'm using Python as my primary language is for web development.
- 25:12You probably run into a lot of web projects at Cuddlesoft.
- 25:14What are your thoughts on that?
- 25:15Yeah.
- 25:16I mean, I think that at least for the space that I operate in, Python really is sort of a sweet spot.
- 25:22Python and Ruby, don't kick me off the show.
- 25:25We're not judging.
- 25:26We're not judging.
- 25:26I think that as a whole, web development is something that needs to be very accessible.
- 25:33You need to be able to hire for it.
- 25:34It needs to be something that's maintainable over time.
- 25:38And so I do think that there's kind of like a sweet spot of like getting something started.
- 25:41And a lot of times, especially if it's your first iteration of building something out, Python is a much more accessible language than trying to jump into something where you're maybe over optimizing or over engineering for something in the future.
- 25:53I think Python just really shines with web development.
- 25:56And it's such a rich ecosystem that why wouldn't you reach for it if you could?
- 26:00Yeah. And you have to hand off these projects as being a consulting firm, right?
- 26:04You build them and you probably hand them off.
- 26:06And I bet it feels more reasonable to hand off a Django or a Flask app than it would be to some highly configured ASP.NET type thing or a Java type of app that requires a bunch of steps even just to get the thing to run, you know?
- 26:22Yeah, absolutely.
- 26:23Anything that's going to wind up being like operating system restricted is really tricky.
- 26:27We've also been working with especially back-end applications that require a really complex ecosystem and architecture to deploy them.
- 26:36And my goodness, like if you can't easily spin up your local environment within, you know, 5-10 minutes, you're probably doing something wrong.
- 26:44Like all of these cloud infrastructures that exist have their place, but a lot of times people really want to grab onto those as well.
- 26:50It complicates things.
- 26:52So I definitely see why Python is still shining in web development.
- 26:55For sure.
- 26:56Brett, I'll give you the final word on this section.
- 26:58And it's a two-part question.
- 26:59Uh-oh.
- 27:00One, educational purposes.
- 27:02Python's a primary language there.
- 27:04That's pretty interesting.
- 27:04It's fantastic.
- 27:05I mean, way back when I started programming, definitely, I didn't have Python.
- 27:10I wish I did as an easier language to get tied into it.
- 27:13But I definitely see it and I appreciate it.
- 27:17And I wish I had convinced my professors when I was in grad school to switch to Python instead of some of their choices.
- 27:22But luckily, Python still went out years later.
- 27:25I've gone back and looked at, yeah, all my previous schools I attended have all switched.
- 27:29So that's fantastic.
- 27:29But yeah, and I hope it grows too, right?
- 27:31Like Paul alluded to WebAssembly and such.
- 27:34And I think we have some opportunity here to make getting started for education.
- 27:38As Emily also pointed out, just getting up and going is a really important friction point to lower.
- 27:43So I'm hoping we can continue to improve that to get us somewhere.
- 27:46Yeah, that was the part two of the two-part question is the WebAssembly stuff.
- 27:50I think traction is finally starting to take there.
- 27:53And that's post the time the survey was run, but I think it is.
- 27:57I just want to toss in two things here.
- 27:58One, I love this question because it's got the most, I find, odd specific point of programming of web parsers, scrapers, and crawlers out of all the other options.
- 28:07It always throws me every time I take this question.
- 28:10It's like, why that specific line?
- 28:12And I know it's historical because what Python's been used for over the years, but it's always so specific.
- 28:17The other thing I look at this, and this shows how weird my relationship with Python is, I don't view this as Python for today.
- 28:22I view it as what I wanted to see change for Python tomorrow, and specifically three, five, ten years from now.
- 28:28I hope we can move the education, the desktop development, and the embedded and mobile development more on our screen to the left, but higher percentages.
- 28:39Yeah, put them higher in that list for sure.
- 28:42Absolutely.
- 28:43Yeah, great point.
- 28:44Okay, totally agree.
- 28:45I believe Paul had something you want to bring up.
- 28:47Oh, Paul, get in here.
- 28:48Yeah, a quick point.
- 28:50First, on the historical anomaly, Brett, when you said that, I just went back and looked at 2017.
- 28:56And web crawlers was a big thing, man.
- 28:58It was 32% back then.
- 29:00So it is a little bit of an anomaly.
- 29:02So I guess it still is.
- 29:04What I'd like to call everyone's attention to is look at data analysis.
- 29:07The difference between the 52 and the 46, it's gone down for people who identify to that.
- 29:13If you go look at the two previous years, it went down then as well.
- 29:17Counterintuitive.
- 29:18Yeah, it really is.
- 29:19It must mean that the data analysis folks have a lot of different languages to juggle.
- 29:23All right.
- 29:24A bunch of other things that we could dive into.
- 29:26Kind of touched on a bunch of these.
- 29:28I think this is a really interesting question.
- 29:30I've always enjoyed it.
- 29:31And the question is, do you consider yourself a data scientist?
- 29:34And let's see, 66% say no.
- 29:3829% say yes.
- 29:41And then there's an other.
- 29:43And I'm not really sure.
- 29:44If I looked at the results, I guess that makes sense.
- 29:46But it sounds like a yes or no question.
- 29:49But there's some uncertainty in there.
- 29:51But when I describe the world as one-third, one-third, one-third, at least for the data science folks, here's the one-third.
- 29:59I do think there's a very interesting trend in the Python space where people who do data science, they feel like they are more isolated in the minority than, say, web developers and other folks.
- 30:13Because I think you have a team of web developers.
- 30:15And often you have one data scientist at the company that's doing the processing and analyzing and whatnot.
- 30:20But if you look at the usage for Python, the highest use, it's 50% is data analysis.
- 30:26And yet only 29% of the people say they consider themselves data scientists.
- 30:31So I think there's something interesting.
- 30:33I think there's more data science happening in Python than even the people in the trenches of that space of it see it as.
- 30:40I think it gets even a bit weirder because it's not that two-thirds of everyone who got asked here doesn't consider themselves data scientists.
- 30:47But two-thirds of all the people that were asked that stated that they work in data analysis and machine learning said they are not data scientists, as it says there.
- 30:56So that is something that throws me completely off here because, I don't know, I may be imposter syndrome, but I don't know.
- 31:04Yeah.
- 31:05Yeah, I think a lot of this goes to what Jay was saying earlier.
- 31:10When we look at data analysis as these questions were asked, that's not necessarily data science for a lot of people.
- 31:17So Jay was talking about using Python to pull data from public APIs and do analysis on them.
- 31:24We're like, we use Python to run our accounting department, right?
- 31:27Like, we pull together spreadsheets and do analysis and budgeting and automatically generate invoices.
- 31:33So I think that there's just like so much more within that data analysis section that just doesn't necessarily apply to data science.
- 31:41Right.
- 31:42They're not doing machine learning with TensorFlow and Jupyter, so it might not feel like I'm a data scientist type.
- 31:47Yeah.
- 31:47Yeah.
- 31:48To me, this is an industry direction question.
- 31:51You know, the industries that we work in are becoming more and more data focused, more and more data driven.
- 31:56And we've been saying that for a decade now.
- 31:58So I'm just going to keep the pattern going.
- 32:01But it seems like even in newer industries, even in industries that are popping up, like I think about how many people are social media influencers that have to deal with things like impressions and stuff like that.
- 32:17So it's like, yes, you have high school kids and younger folks and people who like get it that I just don't.
- 32:26And they're having to look at data and they're having to think about things from a data driven perspective a lot earlier in life.
- 32:36And I think as it becomes more commonplace, what we'll see is people will do anything and everything to make their jobs easier.
- 32:43And in fact, that was what originally got me into Python was how do I make this job easier?
- 32:49Oh, I can script this out.
- 32:51And I think we have some I mean, I talked to the high school kids, you know, from time to time just about, you know, their careers in computer science in the future.
- 33:00And a lot of them are thinking about everything that they do now from a data perspective.
- 33:06And I think that's where, you know, you have more people doing data analytics that aren't necessarily doing data science.
- 33:13Yeah, that's a great perspective.
- 33:14I'm very excited, especially for Brett and Emily on this one.
- 33:18This next question, Python versions, Python 3 versus 2.
- 33:21There was a little bit of uncertainty back in 2017.
- 33:2525% of the people were still now I'm doing Python 2.
- 33:29Now it's just down to the ones I suspect you have no choice.
- 33:33It's 95% Python 3.
- 33:35Brett, can you do a celebration lap on this one?
- 33:38Oh, yeah.
- 33:39I mean, I started to celebrate when we got past 50% and the trend continued to go down.
- 33:44I mean, I basically had on faith alone and partially because this is somewhat my fault.
- 33:49I did play a part in trying to make this all happen.
- 33:51I kind of had to have faith that this would all trend this way.
- 33:54I feel sorry for the people, those 5% that are still stuck on Python 2.
- 33:58I know they're keeping friends of ours.
- 34:00Yeah, there's some of the banks that have like 5,000 Python developers working on some forked, specialized version of Python 2 that has millions of lines of code.
- 34:09I mean, that could be 3% right there.
- 34:11Yeah.
- 34:12And I mean, and I do know people are still actively working on this, right?
- 34:16Like a friend of some of us, Jeff Triplett, like I know, part of his consulting work is to help companies move from Python 2 to 3.
- 34:23So I know it's not that people aren't trying to do it.
- 34:26My worry about those folk that can't move is how much of an island will become to themselves just because they'll slowly just be able to use less and less of the open source stuff.
- 34:35But not much we can do there.
- 34:36But yes, I am very happy about this.
- 34:38And at work, all of our stuff, we draw Python 2 support officially beginning of this year.
- 34:44So it was a nice day when that happened.
- 34:48Fantastic.
- 34:50Emily, being on the inside, what are your thoughts on this as well?
- 34:53Yeah, it's interesting because I feel two very like conflicted feelings about this.
- 34:58So my gut reaction when I look at this is like, wow, like, was it really 75% of people who were already on it in 2017?
- 35:05Like in my soul, I feel like there was still this big push to like get people on Python 3.
- 35:11And it doesn't feel like we were that successful that long ago.
- 35:14So that's the first thing.
- 35:16And then the other thing is like, I just I am lucky to function in a space that we were so able to jump on Python 3 right from the beginning.
- 35:25I do kind of share a lot of Brett's concerns and hesitations about, you know, the people who are still on Python 2 right now are probably really stuck on Python 2 and will be for the foreseeable future.
- 35:38Yeah, you're going to have to leave that job and go to a different place where you no longer have to touch that software to make that change.
- 35:44I'm sure.
- 35:44That actually happened.
- 35:45I mean, a company I was working for in 2019, they were on Python 2.7.
- 35:49They're still on Python 2.7.
- 35:51So unfortunately, they're in that small percentage that's using Python 2.7.
- 35:56But yeah.
- 35:57For me, this graph represents a struggle that I actually am still fighting or was fighting until very recently in Octoprint's maintenance.
- 36:08Octoprint is something that is deployed at the end user space.
- 36:12So I do not control the Python environment it is running in.
- 36:15And so until the very latest stable version, Octoprint still supported Python 2 and 3.
- 36:21And dropping Python 2 support was something that I dreaded because I feared a huge backlash from the community along the lines of, but then this and this plugin will no longer work because the maintainer has not upgraded it yet to support Python 3 as well.
- 36:36And I'm currently looking at my own tracking stats.
- 36:39And for Octoprint, the split is still 15% of all instances are still on Python 2.
- 36:44But at least we now have 85%.
- 36:46So we are slowly catching up to these survey results.
- 36:50But still, the journey was long and hard.
- 36:52And I'm really, really glad that I can finally now say, no, I'm exclusively developing in Python 3.
- 36:58f-strings.
- 36:58Yes.
- 36:59Yes.
- 36:59Yes.
- 37:003.6 is all you need.
- 37:01That's where the magic is.
- 37:02You got async and await and you got f-strings.
- 37:04Yeah.
- 37:04I think that's an interesting microcosm to think about how your app has these plugins.
- 37:09And so there's that cascading dependency as well.
- 37:13Yeah.
- 37:13It also means that if I make decisions like dropping Python 2 support, I pretty much nuke a whole part of my ecosystem.
- 37:20And that is obviously bad because I depend on my ecosystem.
- 37:24It makes up like it's one of the biggest selling points of the whole thing.
- 37:28So that always was, or stuff like this is always decisions that are especially hard to make.
- 37:34This portion of Talk Python To Me is brought to you by the Compiler podcast from Red Hat.
- 37:41Just like you, I'm a big fan of podcasts.
- 37:44And I'm happy to share a new one from a highly respected and open source company.
- 37:49Compiler, an original podcast from Red Hat.
- 37:52With more and more of us working from home, it's important to keep our human connection with technology.
- 37:58With Compiler, you'll do just that.
- 37:59The Compiler podcast unravels industry topics, trends, and things you've always wanted to know about tech through interviews with people who know it best.
- 38:07These conversations include answering big questions like, what is technical debt?
- 38:12What are hiring managers actually looking for?
- 38:14And do you have to know how to code to get started in open source?
- 38:18I was a guest on Red Hat's previous podcast, Command Line Heroes, and Compiler follows along in that excellent and polished style we came to expect from that show.
- 38:27I just listened to episode 12 of Compiler, How Should We Handle Failure?
- 38:31I really valued their conversation about making space for developers to fail so that they can learn and grow without fear of making mistakes or taking down the production website.
- 38:41It's a conversation we can all relate to, I'm sure.
- 38:44Listen to an episode of Compiler by visiting talkpython.fm/compiler.
- 38:48The link is in your podcast player's show notes.
- 38:51You can listen to Compiler on Apple Podcasts, Overcast, Spotify, Pocket Cast, or anywhere you listen to your podcasts.
- 38:57And yes, of course, you could subscribe by just searching for it in your podcast player,
- 39:01but do so by following talkpython.fm/compiler so that they know that you came from Talk Python To Me.
- 39:08My thanks to the Compiler Podcast for keeping this podcast going strong.
- 39:13There's a Zed Shaw quote for everything.
- 39:18And I wondered if there was a Zed Shaw quote for this.
- 39:21Guess what?
- 39:22There's a Zed Shaw quote.
- 39:23There is.
- 39:23That's November 2016.
- 39:25There's a high probability that Python 3 is such a failure it will kill Python.
- 39:30So, Brett, I mean, you killer.
- 39:33I'm okay with that.
- 39:36Python 2 can go hang out with Cobol in the back of the room and just live on forever,
- 39:39well beyond all of us, and do its thing for the few that are stuck on it forever and just can't do anything better.
- 39:46I am curious about that box next to the graph here about, I'm saying,
- 39:51compared to Python 3, Python 2 is more often applied to computer graphics, games, and mobile development.
- 39:56I know for Mac.
- 39:57Yeah, I'm curious about that as well.
- 39:58Yeah, it was interesting.
- 39:59Kind of really stood out to me.
- 40:00I know for Mac, right, they're dropping Python 2.7 support, I believe, right, which happened at the beginning of this year.
- 40:07So, yeah, that just was, this was just, I was curious about that.
- 40:10It's got to be embedded in something.
- 40:12I can also kind of indirectly talk to this.
- 40:14I have a friend who used to be in the gaming industry professionally, and chats with him suggest the gaming industry is very slow to pick up on new stuff, ironically.
- 40:26Right, like cutting edge graphics and all that, but like modern, like development practices and stuff, extremely slow to switch.
- 40:33I don't know if it's the just culture or the velocity tempo we do development at causes them to not stop and look at how things change.
- 40:41So I think it's a combination of the embedding comment just made, plus just literally, it works, why make a change?
- 40:48And we don't have time to move anything we've written in two to three.
- 40:51I think Paul Hildebrandt talks about that in Hollywood and video production, right?
- 40:56Yeah, Maya and all that switching over.
- 40:58Yeah, I gave a talk at Disney for Paul at one point to help him try to convince folks to move to Python 3.
- 41:04And they had to get the whole industry on board, right?
- 41:07Like, because there's a whole industry group that controls, control sounds a little extreme, but works together to come up with standards of software.
- 41:16So the whole industry works together and they, as a group, had to decide to move to Python 3.
- 41:20And I think they did it a bit later than some people might know.
- 41:23And then that's what got like Maya and all those graphics tools to move over and all that.
- 41:28And if you're still running all the versions, I'm sure you haven't switched.
- 41:30So that's my guess as to why those specific areas are kind of taking a bit longer to switch.
- 41:36Yeah, I totally agree with the game, computer graphics.
- 41:38I'm not so sure about mobile because I don't even know what is happening there.
- 41:41This game at one point just kind of made me wonder.
- 41:45A long time ago in a galaxy far, far away, I doubled briefly in Unity.
- 41:49And back then, I think it didn't have Python bindings.
- 41:51And I just checked.
- 41:52Apparently, they introduced Python bindings in 2020.
- 41:55And they started with Python 2 in 2020.
- 41:59So then I currently have the blog post in front of me, Python for Unity editor,
- 42:03and where they said Python 3 support is in the works.
- 42:06And that was on February 26th in 2020.
- 42:09So I don't know if they have shipped it by now.
- 42:11I sincerely hope so.
- 42:12But that kind of explains why it might still be a factor in games development.
- 42:17Because if you started, for example, on a Unity game and developed everything in Python 2,
- 42:21then why port it over?
- 42:23No one will look into the source anyhow because you shipped the whole game binary and stuff like that.
- 42:27Yeah, very good.
- 42:28Very good point.
- 42:29Okay, let's move on to the next one.
- 42:31And this one, I think more than most, you've got to keep in mind,
- 42:35this is from the fall of 2021.
- 42:36And this is for Python 3.
- 42:38What versions are you using?
- 42:40You know, you hear about a lot of libraries these days being 3.7 or above.
- 42:43I believe official support for 3.6 is no longer there, right, Emily?
- 42:48It's now retired.
- 42:49So it breaks down what percentage is being used.
- 42:52So 3.5 or lower is only 2%.
- 42:563.6 is 7.
- 42:577 is 13.
- 42:58Then it was 27% and 35% for 3.9 and 16% for 3.10.
- 43:04And so there's sort of this right side heavy normal distribution type of thing.
- 43:09And I suspect it would move a little more to the right with 3.10, you know, being seven months later or something like that.
- 43:14Yeah.
- 43:15I was going to say the timeframe, I think, as you pointed out, Michael, really important to keep in mind.
- 43:18Because in the fall, 3.10 would have been brand spanking new because it comes out at the beginning of October on the broadcast anniversary of Monty Python's Flying Circus.
- 43:27So it's so new that if the community hadn't caught up yet with releasing usually the extension modules that everyone relies on, right, that scientific stack and all that being ready to go, that would probably hold that up.
- 43:37So actually 16% is kind of nice because it does show that at least some people are ready to go day one versus everyone being on 3.9, which for the majority of the year that this survey covers was the latest and greatest, right?
- 43:48And talking about the Python 2 stuff, I love this chart because for the longest time, right, Python 2 was up over here on the left side and everything was slowly keeping up on the other side.
- 43:56Now we're back to what would have been normal way back in my beginner days of Python of, oh, yeah, pretty much everyone just is on the newest version like three months, six months later.
- 44:05And I see Paul shaking his head, remembering at the same time as I do, where the whole community just moved together on the same versions versus the old split that we had where it's just like, well, some people are moving, some aren't.
- 44:15And it's nice to be back on this cadence.
- 44:17Not to fast forward any of your conversation, Mike, but I think the point below it also speaks to why a lot of people were on 3.9 at this point in time, which is how they're installing it.
- 44:30Oh, yeah.
- 44:31If you're installing it from your OS provider or some other form, you're going to get an older version of Python.
- 44:37And if you're learning Python, just from surveys that I've seen from Python communities, the largest member of Python communities are often...
- 44:47Often students and people wanting to learn.
- 44:50So how do they install Python?
- 44:52Well, if it's already there, they're just going to use what's there.
- 44:55If they don't, then they're probably going to go to the website and download it and then and just run the installer.
- 45:02I think that we as Python professionals like to think that the way that we do things is normal or normalized, I guess.
- 45:10No.
- 45:11But often not.
- 45:12Me using, you know, ASDF to manage all of my different Python versions that I'm using back and forth is very much the outlier.
- 45:20I feel like 3.9 is the largest in this case because teachers are telling their students, go here, install this, do this thing.
- 45:27And if that's what they're using and that's what they're, you know, being forced to use, then they're just going to tell their students to do the same thing.
- 45:33Yeah.
- 45:33The other thing is if you the main way you get Python here that people got Python is by downloading the installer.
- 45:39If you do that, it doesn't auto update.
- 45:41Right.
- 45:42And so if you did that a year and a half ago, you're just going to have that.
- 45:45Oh, I have Python 3.
- 45:46I'm good.
- 45:47There's no auto update.
- 45:48Whereas if you did brew install.
- 45:50Right.
- 45:51It'll say, oh, there's a new version.
- 45:52There's new.
- 45:52And you just generally just accept whatever the updates are.
- 45:55So I think that actually has a big influence here as well.
- 45:58And then, Brett, to your point, I remember right as 3.10 came out, there was a few things I wanted that didn't have wheels for 3.10 that also had to be on M1.
- 46:08There was like, there were certain libraries that didn't, not that they didn't support it, but they weren't quite ready to deliver you the stuff you actually needed to use it, you know?
- 46:16Tanya, Paul, Jay, you all are talking to customers and working with folks.
- 46:22Does this influence how you might think of working with people or presenting stuff like tutorials or things along those lines?
- 46:29Yeah, I think so.
- 46:29I think it would depend on like, you know, which level they're at and like which operating system that they're using maybe.
- 46:36I know for myself, like I just, I literally like just started using IAM.
- 46:39It just makes it a lot easier to like also switch between, you know, different Python versions.
- 46:44But yeah, I think this is definitely something to think about, like when we're writing content.
- 46:47For sure.
- 46:48For sure.
- 46:48I may have been told once or twice to not lean on the walrus operator and some of my match case operators as much.
- 46:56But, you know, you do have to think about how you're writing code and some of the benefits.
- 47:01And I think that's I know 311 isn't on here for obvious reasons, but that's one of the things that we think about when we talk about what's happening in the future, too, is yes, it's great to be able to extol the virtues of all the efficiency improvements.
- 47:17But at the same time, we have to also understand that we might be talking to someone that says, yeah, that's great.
- 47:22We're not going to touch 311 for another three years.
- 47:25So it works.
- 47:26We're not touching it.
- 47:27Yeah.
- 47:28It's fun to encourage that conversation, but also to remember that not every blog post can have the latest and greatest features included.
- 47:36Yeah, for sure.
- 47:37Three quick points for me.
- 47:38First, Emily's first contribution to CPython was walrus.
- 47:42So you will address walrus with love and respect.
- 47:45I love the walrus operator.
- 47:47I, for one, reach for it every time I can in my personal code.
- 47:51However.
- 47:51Second, I find myself blocked sometimes by, of all things, has black gotten to it yet, which is kind of funny.
- 47:59And third, I believe all these problems will be solved when Brett adds install Python to the Python launcher feature set.
- 48:07I think that we'll all be in good shape when that happens.
- 48:10I'm curious, Emily, I want to put you on the spot.
- 48:13Make a prediction.
- 48:14310.
- 48:15What's its number going to be next time?
- 48:17Think it'll hit 35%?
- 48:19Yeah, absolutely.
- 48:20All right.
- 48:21I think what we're seeing here, at least to a certain extent, is that we haven't inflicted too much trauma on the community that they've said,
- 48:28no, I finally got to Python 3.6 or 3.5 or wherever they were at when they migrated over and that they wanted to kind of like stay there.
- 48:37And I think that the core team takes great care, especially now, to not introduce any sort of deprecations or breaking changes that are going to impact the majority of users.
- 48:49Because we know, like we have this talk internally all the time, like there is not going to be a Python 4 because we don't want to see that sort of transition that we saw from 2 to 3.
- 48:59And so I'm hoping that in a way we've broken that stigma that a Python upgrade is a pain.
- 49:04And I don't think I was really around to see the better days before we introduced that.
- 49:10But I do think at this point there's much lower friction and much better tooling for somebody to say, hey, you know, yeah, like Python 3.10 just came out.
- 49:19Let's upgrade our Docker container.
- 49:21Let's run CI.
- 49:21Let's see if our tests pass.
- 49:23And like we should be good to go and just kind of like more readily upgrade on a regular basis because we look at these more as incremental changes.
- 49:32One, and two, I think there is, there's a lot of cool new features that go into each release that people want to grab for.
- 49:40And I think that will drive people to continue to upgrade as much as they possibly can.
- 49:44Yeah, absolutely.
- 49:45I do think it's been a very smooth ride from 3.5 onward.
- 49:50I can't think of anything that's been a problem.
- 49:53So people are encouraged to keep going.
- 49:55I do think there's two things.
- 49:57One, I love the Waller's operator as well, although I've taken down my website with it on accident.
- 50:02Because there were some utility scripts that were not loaded by the website that I thought, oh, I can put my newer code over here.
- 50:09And that was 3.7 on the server.
- 50:11But the server, the web framework scans all the files to try to find routes, URLs, even if you don't call it.
- 50:17And it didn't work so well.
- 50:19But I also love it.
- 50:20I think the other thing is there's going to be an interesting blip in this graph over time from going, because it goes 3.8, 3.9, then 3.10.
- 50:28And it's sort of this curve, what you would expect, like a normal-ish distribution.
- 50:32I think the performance that's coming in 3.11 is going to make a lot of people say, no, no, no, no.
- 50:38It's time to be cutting edge.
- 50:39We're going to get such a boost from it that we're willing to jump not just to 3.10, but to 3.11.
- 50:45Trying to pull up the graph here for us.
- 50:49Yeah, there's some amazing numbers for that.
- 50:52And maybe the core data is on the team.
- 50:54I want to speak real quick to this.
- 50:55But there was, Eduardo pointed out, there's this article.
- 50:58Maybe you all have seen it.
- 51:00This says the Python 3.11 performance benchmarks are looking fantastic.
- 51:04And it's kind of hard to navigate this thing.
- 51:07But if you cruise through here, you see some really meaningful performance improvements, like 40% for certain use cases and so on.
- 51:16So, Brett and Emily, what do you think about this?
- 51:18More people kind of jump in over 3.10 to get to this faster Python.
- 51:22I think in general, you're right.
- 51:24I think when 3.11 comes out and people start talking about how they're getting like bare minimum 5% and certain benchmarks 60%,
- 51:32which averages out probably roughly to 20% for most people, right?
- 51:35I think that's going to cause a lot of people to park up and go like, yeah, we should jump.
- 51:39Now, having said that, there is the potential for compatibility concerns because so much of the internals have had to be,
- 51:46uprooted and changed.
- 51:47That if you're depending on an extension module, that there's some really deep mucking around with CPython internals.
- 51:54They might have to spend some time still to get updated.
- 51:57So there might also be some cohort of users that get kind of held up because of that.
- 52:01But yeah, I suspect most people are not in that group.
- 52:06And so they will be able to jump straight over and people are going to go, oh, wow, this is so much faster.
- 52:11For literally just business reasons alone of just literally saving on your compute costs, let's switch to the other.
- 52:16Like, I think this is going to be one of those.
- 52:18You can go to management and convince them that you update your code because the amount of money you're going to save on your costs is going to be high enough that it's worth putting the time and effort in.
- 52:27Versus other times where it's the engineers coming to management going, I want the waller's wall operator.
- 52:31Why will you let me have this?
- 52:32Right?
- 52:32And they're all like, well, it's not worth it.
- 52:35Just keep doing it.
- 52:35Versus now, like, we can save 20% off our compute costs.
- 52:38Oh, okay.
- 52:39Yeah, let's go ahead.
- 52:40Yep.
- 52:40Exactly.
- 52:41Everyone will eventually get Emily's waller's operator, hell or high water.
- 52:44And me, I'll probably, for all eternity of Octoprint's development, will be stuck on whatever is the latest that is still supported kind of thing.
- 52:54Or the oldest.
- 52:55Right, right.
- 52:55So 3.7.
- 52:56Yep.
- 52:57Yeah.
- 52:57So currently, I'm still stuck on 3.7.
- 52:59I mean, I'm happy I'm finally on 3.7 and not on 2.7.
- 53:02But I hear waller's operator.
- 53:04I hear matching and pattern matching.
- 53:06And I hear all this stuff.
- 53:07And this looks so amazing.
- 53:09And I would love to play around with it.
- 53:10But maybe in five years or so.
- 53:13I don't know.
- 53:13For now, it's like, yeah.
- 53:15If you have to support something that people install on their OS providers, Python, then you are a bit out of luck.
- 53:22Absolutely.
- 53:22Very interesting angle there that you're constrained by.
- 53:25All right.
- 53:26I want to just, we only have time for one more.
- 53:27I want to find out how long people, two things, actually.
- 53:31Let's just, I think since we have two, a representative for the two major editors.
- 53:36Let's real quick, maybe Brett and Paul give us your thoughts on if I'm going to use, write some code.
- 53:44You know, what editor do I use, right?
- 53:46It's VS Code and PyCharm pretty close, neck and neck.
- 53:50And then it just tails off to some insane long tail after that.
- 53:53Honestly, this must make both of you pretty happy that playing such an important role up front.
- 53:57Yeah.
- 53:58Especially, I mean, PyCharm has been up there from the get-go, the start of this survey.
- 54:03And us little spunky folk over at VS Code have finally caught up to PyCharm.
- 54:08Because if you go back to 2017, we were...
- 54:10You and all your extensions.
- 54:11That's what it is.
- 54:13Because if you go back to 2017, when this was actually added, we were sixth or seventh on that list.
- 54:19So we're fairly lucky that the community has decided that we are worthy, as it were, to be up there with PyCharm.
- 54:25So, yeah.
- 54:26Yeah.
- 54:26Awesome.
- 54:27I think an interesting story for this is just smart editing in general.
- 54:32When we're just looking at the distribution of Python releases, for me, I think 78% is 3.8 or higher, which is great news for me because I like the typing convenience, type hinting conveniences that started to appear in 3.8 and after.
- 54:47And it's just a wonderful surprise to me that the Python community values typing and values tooling that puts that to work to help you write better code.
- 55:00So for when I look at this, I see this to a degree as a demand for smart tooling, smart editing.
- 55:06Yeah.
- 55:06And I think that's a really good point that not only...
- 55:10I think it's two signals.
- 55:11It's one, the community, as Paul said, picking up on typing and smart tooling, I want you to do that.
- 55:15But also the tool makers, speaking for myself, realizing that the Python community is big enough and important enough to invest in it, right?
- 55:24Because there's always been a conflict of, oh, smart tooling for Python's hard.
- 55:29I don't want to do it, right?
- 55:31Which is honestly kind of good in a weird way because it led to us having such a good tradition of documentation, right?
- 55:37And people care to so much about this.
- 55:39I mean, like I know what Michael and Paul have done around Mist and their tutorials and that coming up and being a thing and what's continuously caring about our documentation.
- 55:45And all that.
- 55:46But it's also, I think, just a showing of, yeah, just where we've all come from all directions, both from a support perspective, the community perspective, and just getting to the point where this...
- 55:57Everyone views this as totally reasonable and possible and something people can totally rely on and push on.
- 56:02And the community going along with it and going like, yeah, this is fantastic.
- 56:05We now have the equivalent tooling, more or less, of other languages.
- 56:08Isn't this fantastic?
- 56:09Versus, oh, I don't want to use Python because I don't get autocomplete, right?
- 56:12Because I know that used to be a big complaint I used to get, which is, once again, the history of us pushing for good documentation, good names and caring and all that stuff and API design.
- 56:21So I think, ironically, not having this at the start of the community, back in the 90s and early 2000s, actually has become a benefit long term because we have good practices that have now paid tenfold because good practices plus tooling now.
- 56:34Versus, oh, we'll just lean on the tooling and who cares what the name is because everyone's just going to hit dot anyway and just choose the first answer.
- 56:40Yeah.
- 56:40You know you can't bring me on the show without knowing I'm going to troll a little bit.
- 56:43So I just want to point out that the Vim slash Vim mode users are winning in the war between Vim and Emacs.
- 56:51Yeah, it's a three to one.
- 56:53Yeah, I'm going to leave that.
- 56:54Yeah, the Notepad++ folks, they're out there too, but excellent.
- 56:58All right, well, we are getting a little bit long on time for everyone on the show's time.
- 57:02I could sit here and talk for hours about this.
- 57:05This is such a great panel to be here and talking with you all about it.
- 57:08It's been super fascinating.
- 57:09So maybe we could just close this out with if you have any thoughts on where Python has recently come from and where it's going.
- 57:15I'll start it off with just WebAssembly, PyScript, very exciting new PySlice of where Python might show up and make big impact.
- 57:24So thank you to everyone who's done that in particular, Brett.
- 57:27And I know, Paul, you're working on PyScript stuff as well.
- 57:30I'll just say I just hope the community continues to be as fantastic and wonderful as it is.
- 57:34I'm sure Emily and anyone else who got to be at PyCon in person this year got to relive that experience after a two-year high-dice and got to see it still alive and thriving.
- 57:41And I mean, I've said this before, and I'll continue to say it.
- 57:44I came for the language, but I stayed for the community, and I continue to stay for the community, right?
- 57:47Like, I literally just had a career conversation with my manager last month, and I opened with saying the reason I'm here and the passion I hold is for this community.
- 57:54It's not even specifically for the language anymore.
- 57:56The language is the enabler to allow me to help bring more wonderful people to this community and to help others get to enjoy and benefit from this community.
- 58:03And I hope that's the future is this community continues to thrive and grow and be that open, welcoming place for everyone who needs that place in their lives.
- 58:10I just want to say seven years.
- 58:12It took me seven years to go from, hey, this Python thing looks cool.
- 58:17I would love to work with this in my day-to-day to now I'm in a job where my focus is working on Python.
- 58:23And I don't think that, you know, part of that is just me being persistent and ornery, I guess.
- 58:27But then like the other part of that is the fact that the community continues to grow, the resources continue to grow.
- 58:34I feel Emily's pain with working with Ruby.
- 58:36My first programming language was learning Ruby.
- 58:38And the thing that made me switch from Ruby to Python was that community.
- 58:43So we have a couple of PSF folks and core maintainers here.
- 58:47You know, thank you for making the language what it is, but also thank you for making the community what it is.
- 58:50Because without it, I don't think I would be in the role that I'm at today.
- 58:54I would like to just hook into this as well, because I went to my very first German PyCon in 2018.
- 59:00I felt utterly out of my space.
- 59:03I had large imposter syndrome because who was I?
- 59:06I was this open source project maintainer who had actually self-taught herself Python because she developed a project in that.
- 59:13And now I had the courage to go to a PyCon and I sat there and people just started talking to me.
- 59:19And I had so very nice chats.
- 59:20And actually the next PyCon, I held my first talk at one.
- 59:24So I cannot say that I have ever felt so welcome in the community ever before the Python community.
- 59:31So thank you very much for that.
- 59:33Yeah, that's awesome.
- 59:35Yeah, that seems to be a common trend on our talk.
- 59:38So yeah, I actually started out programming with Java.
- 59:41Then I moved to Ruby.
- 59:44Some other people here did.
- 59:45And then I just wasn't, I didn't feel that like the community was that supportive.
- 59:49And then when I moved to Python, it was just like, you know, a light bulb came on and the community has been absolutely amazing.
- 59:55So thank you to everyone who is supporting me in the community.
- 59:58Thank you to our core developers as well.
- 1:00:00I'm definitely excited to see where, you know, of course, where PyScript goes and also to see where like some of the other types of things go, like mobile development and game development as well.
- 1:00:08Looking at all you hear on the screen and just realizing what a great community it is, what awesome contributions you all have made.
- 1:00:14So thank you for being on the show.
- 1:00:16Thank you for reflecting on the survey and the state of community with me.
- 1:00:20It's been great to have you here.
- 1:00:21See y'all later.
- 1:00:21Thanks, Michael.
- 1:00:22Thank you.
- 1:00:22Yep.
- 1:00:22Bye.
- 1:00:23This has been another episode of Talk Python To Me.
- 1:00:27Thank you to our sponsors.
- 1:00:29Be sure to check out what they're offering.
- 1:00:30It really helps support the show.
- 1:00:32Take some stress out of your life.
- 1:00:34Get notified immediately about errors and performance issues in your web or mobile applications with Sentry.
- 1:00:40Just visit talkpython.fm/sentry and get started for free.
- 1:00:45And be sure to use the promo code talkpython, all one word.
- 1:00:49Listen to an episode of Compiler, an original podcast from Red Hat.
- 1:00:53Compiler unravels industry topics, trends, and things you've always wanted to know about tech through interviews with the people who know it best.
- 1:01:01Subscribe today by following talkpython.fm/compiler.
- 1:01:05Want to level up your Python?
- 1:01:06We have one of the largest catalogs of Python video courses over at Talk Python.
- 1:01:10Our content ranges from true beginners to deeply advanced topics like memory and async.
- 1:01:16And best of all, there's not a subscription in sight.
- 1:01:18Check it out for yourself at training.talkpython.fm.
- 1:01:21Be sure to subscribe to the show.
- 1:01:23Open your favorite podcast app and search for Python.
- 1:01:26We should be right at the top.
- 1:01:27You can also find the iTunes feed at /itunes, the Google Play feed at /play, and the direct RSS feed at /rss on talkpython.fm.
- 1:01:36We're live streaming most of our recordings these days.
- 1:01:40If you want to be part of the show and have your comments featured on the air, be sure to subscribe to our YouTube channel at talkpython.fm/youtube.
- 1:01:48This is your host, Michael Kennedy.
- 1:01:50Thanks so much for listening.
- 1:01:51I really appreciate it.
- 1:01:52Now get out there and write some Python code.
- 1:01:54I really appreciate it.