Learn Python with Talk Python's 270 hours of courses

#374: PSF Survey in Review Transcript

Recorded on Thursday, Jun 30, 2022.

00:00 Every year, the PSF and JetBrains team up to do a Python community survey.

00:04 The most recent one was fall of 2021. For this episode, I've gathered a great group of Python

00:10 enthusiasts to discuss the results. I think you'll really enjoy the group discussion on this episode.

00:15 You have Gina Houska, Emily Morehouse, Tanya Sims, Brett Cannon, Jay Miller, and Paul Everett

00:21 here to help us with the episode. This is Talk Python to Me, episode 374, recorded June 30th,

00:28 2022. Welcome to Talk Python to Me, a weekly podcast on Python. This is your host, Michael Kennedy.

00:47 Follow me on Twitter where I'm @mkennedy and keep up with the show and listen to past episodes

00:52 at talkpython.fm and follow the show on Twitter via at talkpython. We've started streaming most

00:58 of our episodes live on YouTube. Subscribe to our YouTube channel over at talkpython.fm

01:03 slash YouTube to get notified about upcoming shows and be part of that episode.

01:07 This episode is brought to you by Sentry and their awesome error monitoring product, and it's brought

01:14 to you by Compiler from Red Hat. Listen to an episode of their podcast as they demystify the tech industry

01:20 over at talkpython.fm/compiler. Transcripts for this and all of our episodes are brought to you by

01:26 assembly.ai. Do you need a great automatic speech to text API? Get human level accuracy in just a few

01:31 lines of code. Visit talkpython.fm/assembly.ai.

01:36 Brett, Jay, Tanya, Emily, Paul, and Gina, welcome all of you to Talk Python to Me.

01:41 Thanks, Michael.

01:42 Hey, everyone.

01:42 Hey.

01:43 Hello.

01:43 It's really great to have you here. I'm super excited to have a conversation around the whole

01:49 community of Python survey results. Thank you to the PSF and JetBrains for putting the survey

01:55 together. Thank you all for being here. And I want to invite a bunch of you so that we could have a bunch

02:00 of different perspectives and thoughts and ideas on where we are. So that's going to be so much fun.

02:05 But let's do a quick round of introductions. Brett, open source contributor extraordinaire.

02:12 So my name is Brett Cannon. I'm in charge of the Python experience for VS Code. I'm also a core

02:19 developer for 19 years now. I'm a member of the Python Steering Council since its founding,

02:24 and I'm calling from Vancouver on the unceded territory of the Squamish, Musqueam, and Tsleil-Waututh

02:29 First Nation.

02:29 All right. Great to have you here. Thanks for all the Python things you've done. Jay.

02:33 Yeah. I'm Jay Miller. I'm a senior cloud advocate at Microsoft. I work with our Python advocates.

02:38 And yeah, it's my job to keep Brett looking so amazing. Or at least talk about the amazing stuff he's

02:46 done.

02:46 That's right. Spread the word.

02:48 Tanya.

02:49 Hey, everyone. My name is Tanya. I'm currently a Python developer advocate at

02:53 Deepgram. We're an AI speech-to-text company. So before I got into Python, I was a professional

03:00 athlete. So I'm like a pro athlete, turned, worked in sales for a little bit, and then

03:04 gotten the tech after. But thanks for having me today. It's good to be here.

03:07 It's great to have you. And I love your story because it shows you don't have to just grow

03:10 up doing code from a young age to be really great at this and how fun it must have been

03:15 to be a pro athlete. So cool.

03:16 Thank you.

03:16 Yeah. Emily, great to have you here.

03:19 Yeah, absolutely. Hi, I'm Emily. I am the director of engineering at at a software consultancy called Cuddlesoft. I'm also a CPython core developer and the

03:29 recovering PyCon US chair from the last three years.

03:32 Yeah, great work. It sounded like people I talked to had a wonderful time there. So

03:36 good job on PyCon. Paul, nice to have you back.

03:39 Hi, everybody. I'm Paul Everett, developer advocate at JetBrains, a teller of semi-true stories

03:47 of Python history and really happy to be with the six of you. This is a cool panel.

03:53 Yeah, I'm happy to have you here. It is a cool panel. Gina, you were not too long ago on Python

03:59 Bytes, as was Tanya as well. But it's great to have you over here on Talk Python.

04:03 Yeah, thank you for having me. Yeah. So my name is Gina Huiske. I'm the creator and maintainer

04:08 of something called Octoprint, which is the snappy web interface for your 3D printer and which is

04:12 written at Python, which is why I'm here, I guess. So hi.

04:15 Hi. And people who are not watching, I think you've got just the coolest office setup. You've

04:21 got your laser cutter and 3D printer and stuff that you've created with your your makerspace

04:26 that set up a really nice camera AV setup. So it's fantastic.

04:30 And a three headed monkey.

04:31 And a three headed monkey, of course.

04:32 Right behind you.

04:33 I love it. All right. Paul, do you want to maybe say a few things about the relationship

04:39 of the PSF and JetBrains and sort of a little bit of background in the survey to just maybe

04:45 introduce a virtual quick since JetBrains was part of it? If I go and look at the results

04:50 here when we get to them, it's at jetbrains.com. But it's not really a JetBrains survey, is it?

04:55 No, not at all. It's interesting. When I was doing the prep for this, I was like, how far back

05:00 does this go? Damn, this thing goes back to 2016. Wow. Which is interesting to see some changes

05:06 over time. But this was kind of a brainchild back then. Well, we got a need. Python has a

05:12 need. Let's do it together. But then it kind of turned into PSF steering the ship and JetBrains

05:17 just doing what it was told for. Conducting the survey, doing a little bit of throwing smart

05:24 brains at it from our research folks to do statistical validity, trying to add new questions, but preserve

05:30 old ones so that we could see trends over time. So this is now the PSF survey. And I think that's

05:36 a great resource because we all have these questions, right? Yeah. Yeah, we absolutely do. And one of the

05:41 things I remember when I was reading about it is it wasn't conducted on the JetBrains site. This was on

05:47 python.org, right? Yeah. It's hard because it can feel like, well, it becomes a selection bias because

05:54 it's affiliated with JetBrains. And so over the years, we've really tried to turn this into kind of a

05:58 contribution to the community. Let the PSF kind of dictate what it wants to see and how things should

06:04 be organized and conducted. Yeah. Yeah. Brett or Emily, anything you want to add to that since

06:09 you're a little bit on the inside? No, I mean, Paul nailed it on the head. It's a great partnership

06:14 between the PSF and JetBrains. Like, as I said, it's mainly questions coming from the PSF and the JetBrains.

06:19 Folk happened to help do it. Make the Spiffy website with the awesome cookie policy pop up in the

06:25 corner. I still think you all have the best one in the industry. Yes. You could

06:28 type in it. It's a console, right? Yeah. That's pretty cool. We can talk about it later,

06:32 but like the development residence questions, for instance, all came straight from Wukash.

06:35 And it's basically asked Wukash to come up with those and such. So it's great collaboration.

06:40 Yeah, absolutely. Cool. All right. Let's, I'm going to pull this up here. And for folks who want to

06:47 check it out, obviously there's not going to be probably that many links in the show notes,

06:51 but there's the one, the one important one, which is the Python developer survey 2021 results. So

06:59 one thing to keep in mind as we talk about this is it's a bit of a historical look a little bit. So

07:04 this was conducted in the fall of 2021. And here we are in the summer of 2022. So for example,

07:12 there's questions about Python 310, right? I'm sure the adoption is higher of that now than it was,

07:16 was that eight months, seven months ago, something like that. So keep that in mind. And so, yeah,

07:22 what do we want to say that actually links back to the previous results as well, which is really good.

07:26 I went through a bunch of different areas. And so I think the first, we're just going to go through it

07:31 in order and maybe skip some that are not, you know, maybe too detailed or something. But the first one

07:36 is, are you a Python developer or are you a developer that also happens to use Python? And for the people

07:45 who took the survey, you know, granted, they're going to python.org to see this, or they were

07:49 encouraged on Twitter from Python people to go take the survey. And it's 84% of the people are using

07:55 Python as their main language. I personally think that's pretty high. I think that's, that's a pretty

08:00 positive number here. What do you all think?

08:03 I'd be curious what the bias is. Like, I wonder what would happen if this made the front of Hacker News

08:07 and what this number would then be. Because for instance, I know plenty of people who complain at

08:13 me at work about why is this Python stuff kicking up? I only use this script every two months kind of

08:18 thing. So I know lots of ancillary uses of Python all over the world. So I'd be really curious.

08:24 Obviously, this does not really represent the world itself. So I think it just at least helps set a

08:30 guideline as it is, as it were, as to how to view these results more than an actual number we can rely

08:36 on for the overall computing world.

08:38 Yeah, I think it's interesting, because if I remember correctly, this question was sort of a

08:42 self-selection of how you identify. So I definitely say like, yeah, I am a Python developer. But if I am

08:49 realistic about the actual code that I'm writing on a daily basis, I'm definitely not like primarily

08:55 writing Python. So I think that this really sort of frames the perspective of the person filling out

09:01 the survey to say like, yes, Python is my main language of choice in whatever way that might be,

09:06 but it might not actually be the thing that they're writing the most code for.

09:09 Sure. I'd like to hear your thoughts of this from everyone. But my view of the Python world

09:15 is it basically breaks into three pieces. We've got the web developer, web API sort of folks.

09:22 We've got the data scientists, and we have this massive other, you know, scientists, economists,

09:29 maker folks, programming little devices. And it seems to me that the first two, the web and the

09:37 data science would probably really be the main, right? They would just live in Python. But that other

09:43 group, they might drop into Python to just, oh, I heard there's this library, and it'll give me this

09:48 picture that I need and then go back to whatever they were doing, something like that.

09:51 Yeah, I guess too. Like I was, that actually made me think about like, like when you were collecting the

09:56 survey results for this one, like what levels, like, did you ask like what level they were at? Like

10:01 maybe more junior, senior, mid-level? Because I feel like maybe someone maybe just starting out in Python,

10:06 you know, maybe that's like their own, like their main language that they're using versus someone who's

10:11 more senior or more experienced. Maybe they were using, you know, secondary languages as well.

10:15 Yeah, that's a very good observation. There's a section on the how junior or senior people are,

10:20 which I think is pretty interesting. Jay, you're, you've been doing some of the developer

10:25 relationship stuff. You probably got to think about this sort of breakdown a lot. What are your thoughts?

10:29 I do. And my history comes from being a tinker slash automator. So often had to use whatever tools

10:37 I 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:46 the case for most people. Like you said, that is that, that bubble that the Python community is vastly

10:52 growing in of people who are, I'm using Python to do this thing in my job that isn't as a developer.

10:58 And it's nice to see that I think more and more use cases of Python are becoming available so that

11:05 I don't have to go reach for whatever the parent language is in my project. I can go and just use

11:11 Python for most things. I think that while a part of this is, you know, we're looking at this data set

11:16 as people who love Python, wanting to come in and talk about Python and share their thoughts and

11:20 feelings about it. But I also recognize that had you asked me this very question three years ago,

11:27 I would have had to give a different answer. So yeah, I think that it's great that that number can

11:32 go up because of the growth of Python from a technical standpoint.

11:36 Yeah, great point. Gina?

11:37 Yeah, that pretty much mirrors what I was about to say, because when I started with Python, when I

11:43 got the first time into touch with it, that must have been sometime around 2007,

11:49 2008-ish. So a really long time ago when I actually was still a system administrator at university in the

11:56 computer science department. And I used Python to automate some stuff like maintenance things and

12:03 bookkeeping and whatnot. So I distinctly remember writing a label tool for the backup drives. And back

12:10 then, if you had asked me this question, I would certainly not have said I'm a Python programmer. And I'm not

12:14 even 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:22 And 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:47 Yeah, 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:04 Tanya 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:24 Do you in HTML? Are you doing C Sharp? 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:47 You 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 Sharp. 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:17 That 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:47 and may not quite view themselves as Python developers, even though they are, right?

14:50 And I think this kind of plays into that with the whole JavaScript, HTML, CSS,

14:54 covering that web group and then Bash shell covering that cohort.

14:58 And then SQL kind of cross-cuts across web and data science.

15:00 So I think it kind of is interesting.

15:02 I also personally hope C++ group drops because people write more Python and less C and C++

15:07 with all the performance coming in Python 3.11 in the future.

15:11 But that's just a personal wish.

15:13 Yeah.

15:13 Paul, you're pumping your fist there at some C++ being overtaken by more Python.

15:18 I will start by giving the first of 20 consecutive compliments to Brett, who is reviewing WebAssembly pull requests,

15:28 probably as we speak.

15:29 He's got two or three other Bretts back in the back that are doing the pull request reviews.

15:34 But as WebAssembly becomes a thing, then maybe Brett's mission to demolish C Sharp

15:40 will take effect.

15:42 I'll take exception to the HTML ain't a language.

15:45 The L language.

15:47 Come on.

15:48 Give it some love.

15:49 And Stack Overflow says it's the number one language.

15:51 So maybe the only thing I'll add that was interesting to me on this is seeing the change since 2016,

15:56 because this is a question that's been asked every time.

15:59 Fairly stable wording on it.

16:00 Hasn't changed that much.

16:02 The top five are the top five.

16:04 SQL has bounced around.

16:06 If I remember correctly, last year it was number one ahead of JavaScript

16:10 at 43% or something like that.

16:12 And I kind of thought, well, that's data science kicking in.

16:15 But then this year it took a little bit of a drop.

16:17 Question about the makeup of this language.

16:19 Was this a kind of a multiple choice thing?

16:21 Or did you have to?

16:22 Okay.

16:22 So you could say JavaScript, HTML, dash.

16:24 I remember taking the survey, but I cannot remember the question on it.

16:28 Yeah, yeah.

16:29 Gina, the little giveaway is that there's this 100 plus at the top, which means like people can pick more than one.

16:36 Okay, okay, okay.

16:37 When you see that at the top by a second, yeah.

16:39 I should add that the anonymized cleaned up data sets are available for all you smart people who can do cross.

16:46 If they want to do SQL against their CSV.

16:51 I have tried to escape JavaScript for a while.

16:55 And I just feel like I'm not able to escape it.

16:56 And it's like, you know, I have, you know.

16:58 There is no escape.

16:59 I'm going to still escape from JavaScript.

17:01 I've just given up.

17:02 Yeah.

17:02 I am curious to see though, how, you know, like as the development of, you know, PyScript,

17:06 as it develops, like if that JavaScript number will stay the same or if it's going to like kind of drop off a little bit.

17:11 And then, I mean, I know Bootstrap isn't a language.

17:14 It's more of a front end framework.

17:16 But, you know, this kind of made me curious, you know, like are Python developers using Bootstrap more with their applications

17:21 or are they using straight JavaScript?

17:23 Are they using, you know, vanilla HTML and CSS?

17:26 I could imagine that React is pretty much featuring very highly there and maybe also Angular and Vue.js as well,

17:34 which is also how I explain that maybe JavaScript is actually ranked up higher

17:38 than HTML and CSS because if you write React in these days, you pretty much only interact with JavaScript code

17:44 and you might throw snippets of stuff in there that looks like HTML but actually isn't.

17:49 So people in that case would probably more identify as the JavaScript crowd

17:52 or maybe the TypeScript crowd.

17:54 So, yeah.

17:55 Dina, do you use a lot of other languages or technologies for your devices and embedded things and so on?

18:01 I used to have this thing that I try to learn a new language every other year or so,

18:06 but then life happened and I haven't been up to that for the last, I don't know, 13 years or so now.

18:11 I can say that in my day-to-day, I probably mostly use Python, JavaScript, Bash as well a lot.

18:18 No Java anymore, thankfully.

18:19 SQL here and there maybe as well, but I think that is about that.

18:24 I mean, sometimes I also have to touch C or C++ code, but I try to really avoid it

18:29 because I know my weaknesses, pointer arithmetics, and forgetting to free up memory,

18:34 so I stay away from languages that allow to shoot myself a little too much.

18:38 Yeah, even if you're good at it, it's just, it's a hassle if you can avoid it.

18:42 Final thought on this one, Emily, you said you were doing other languages as well.

18:46 One, being a core developer, C++ is probably something that you've got to mess with,

18:50 or C rather, being CPython, but what stands out to you here?

18:55 Yeah, I think that most of my contributions to CPython have been C and not Python.

19:00 Yeah, I think it's interesting.

19:01 I think it's very clear that web development is very much at the forefront.

19:04 I think being able to sort of ingest this data and make meaning of it does get really difficult

19:10 because you look at HTML, CSS, and there's so many different ways that it can be used.

19:15 So it's like, oh, like, are these people writing Django or Flask applications

19:19 and they're also including that?

19:20 Or do they happen to be writing a React front end and are considering it in there?

19:25 So I do think that that's interesting and just sort of a difficult thing

19:29 to really like take that meaning out of it.

19:31 But I think it's very clear that there is some section of people who are still looking for things that are more similar to Python elsewhere, right?

19:42 So you can't get away from JavaScript.

19:44 As we all know, there's really not a good substitution for something like HTML, CSS, if that's what you're building.

19:50 But you see things in here where there's, you know, there's Go, there's Rust,

19:53 things that people might be leaning towards when they need something that's a bit more performant

19:58 or feeling a different need for them.

19:59 I think it's interesting that those are still making a meaningful enough impact

20:03 that they're making this list.

20:04 And I think it will be interesting to see how this changes over the next few years with, you know,

20:10 improvements of Python performance.

20:11 This portion of Talk Python to Me is brought to you by Sentry.

20:17 How would you like to remove a little stress from your life?

20:19 Do you worry that users may be encountering errors, slowdowns, or crashes with your app right now?

20:26 Would you even know it until they sent you that support email?

20:29 How much better would it be to have the error or performance details immediately sent to you,

20:33 including the call stack and values of local variables and the active user recorded in the report?

20:39 With Sentry, this is not only possible, it's simple.

20:42 In fact, we use Sentry on all the Talk Python web properties.

20:46 We've actually fixed a bug triggered by a user and had the upgrade ready to roll out

20:51 as we got the support email.

20:52 That was a great email to write back.

20:55 Hey, we already saw your error and have already rolled out the fix.

20:58 Imagine their surprise.

20:59 Surprise and delight your users.

21:01 Create your Sentry account at talkpython.fm/sentry.

21:06 And if you sign up with the code talkpython, all one word, it's good for two free months of Sentry's business plan,

21:13 which will give you up to 20 times as many monthly events as well as other features.

21:17 Create better software, delight your users, and support the podcast.

21:22 Visit talkpython.fm/sentry and use the coupon code talkpython.

21:29 It's hard to tell from these little graphs that shows year over year change.

21:32 And the one that seems to have grown the most is Rust.

21:35 And I feel like there's a lot of people starting to pair Rust with Python

21:39 instead of C with Python for some of those internals.

21:42 Pretty interesting.

21:43 Okay.

21:43 Languages for web and data science.

21:45 They break this stuff all down.

21:47 This next question here asks, Python usage as a main or secondary language for a certain purpose.

21:54 So maybe we could touch on top four or five here.

21:58 Data analytics.

22:00 Python is the main language, but only by 4%, right?

22:05 And then web development.

22:06 It seems like Python is more of the main language and so on.

22:10 But for example, DevOps, as Gino was sort of talking about in system administration,

22:15 it's a secondary language that people bring in.

22:17 So yeah, Tanya, were you going to jump in there?

22:19 I was just kind of nodding my head about the data analysis, the, you know, the 52% and just thinking like, you know,

22:26 what else are they using?

22:27 Are they using R instead of Python for data analysis or something else?

22:30 Or just kind of made me think of that.

22:32 It's a real good question.

22:33 I don't know the answer.

22:33 Maybe some other folks do.

22:35 What are they using?

22:36 If not the second language.

22:37 I don't even think it was necessarily like a language.

22:39 I think it was, where is the data coming from and how do you get into it?

22:43 That was one of the things where I've been a massive advocate for working with public data

22:48 and using tools like Socrata that provide REST APIs for a lot of that data.

22:52 But when all of a sudden you're working at a project and you have a map and the map is only GIS data

22:58 and you're like, well, yes, I could.

23:01 I could start doing like neonatum stuff or I could just use what they give me.

23:07 And unfortunately, a lot of data like that is kind of locked into however they decide to give it to you,

23:14 albeit sometimes a CSV file that has, you know, 2,000 columns to it.

23:20 So 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:28 So you just kind of use whatever they've given you to use.

23:31 But I'm glad that there are services.

23:33 Again, like that's going to be my repeating sentiment is I'm glad that there are more and more things coming out

23:40 that make using Python with a lot of these tools a little bit more accessible to beginners.

23:46 And I would say enthusiasts.

23:48 I'm not a data analyst.

23:50 I'm not a data scientist.

23:51 I don't even pretend to be one.

23:53 I'm just someone that loves looking at data and says, what can I discover from it?

23:58 Yeah, very cool.

23:59 Gina, how does that DevOps system administration breakdown for you?

24:02 Does that resonate?

24:03 Absolutely.

24:04 Because frankly, even though I now consider myself a Python developer, whenever I have to get into DevOps administration stuff,

24:11 the first thing that I try to use to solve any given problem that I have is shell script.

24:16 Once that reaches a certain level of complexity and I start to slowly but surely lose my sanity over it,

24:24 then I switch it over to Python.

24:25 The first approach is usually just, I don't know, three or four lines of best script.

24:29 Then suddenly all ton of logic ends up in it.

24:32 Then I might need an argument parser.

24:34 It's a point.

24:35 And then Python starts to look more attractive at that point.

24:39 But if it's really just chaining a bunch of units commands together and throwing JQ against the JSON dump

24:45 or something like that, then it's just, I don't know.

24:47 The shell script is just faster.

24:48 Yeah.

24:49 And no dependencies.

24:50 It's just right there.

24:51 Yeah.

24:51 It just works.

24:52 Like maybe I have to install one single command line tool or statically linked even maybe.

24:57 And then I'm done.

24:58 So yeah, when I can do that, I prefer doing that because then I don't feel like I have to maintain something now.

25:04 Emily, 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:12 You probably run into a lot of web projects at Cuddlesoft.

25:14 What are your thoughts on that?

25:15 Yeah.

25:16 I mean, I think that at least for the space that I operate in, Python really is sort of a sweet spot.

25:22 Python and Ruby, don't kick me off the show.

25:25 We're not judging.

25:26 We're not judging.

25:26 I think that as a whole, web development is something that needs to be very accessible.

25:33 You need to be able to hire for it.

25:34 It needs to be something that's maintainable over time.

25:38 And so I do think that there's kind of like a sweet spot of like getting something started.

25:41 And 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:53 I think Python just really shines with web development.

25:56 And it's such a rich ecosystem that why wouldn't you reach for it if you could?

26:00 Yeah. And you have to hand off these projects as being a consulting firm, right?

26:04 You build them and you probably hand them off.

26:06 And 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:22 Yeah, absolutely.

26:23 Anything that's going to wind up being like operating system restricted is really tricky.

26:27 We've also been working with especially back-end applications that require a really complex ecosystem and architecture to deploy them.

26:36 And 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:44 Like 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:50 It complicates things.

26:52 So I definitely see why Python is still shining in web development.

26:55 For sure.

26:56 Brett, I'll give you the final word on this section.

26:58 And it's a two-part question.

26:59 Uh-oh.

27:00 One, educational purposes.

27:02 Python's a primary language there.

27:04 That's pretty interesting.

27:04 It's fantastic.

27:05 I mean, way back when I started programming, definitely, I didn't have Python.

27:10 I wish I did as an easier language to get tied into it.

27:13 But I definitely see it and I appreciate it.

27:17 And I wish I had convinced my professors when I was in grad school to switch to Python instead of some of their choices.

27:22 But luckily, Python still went out years later.

27:25 I've gone back and looked at, yeah, all my previous schools I attended have all switched.

27:29 So that's fantastic.

27:29 But yeah, and I hope it grows too, right?

27:31 Like Paul alluded to WebAssembly and such.

27:34 And I think we have some opportunity here to make getting started for education.

27:38 As Emily also pointed out, just getting up and going is a really important friction point to lower.

27:43 So I'm hoping we can continue to improve that to get us somewhere.

27:46 Yeah, that was the part two of the two-part question is the WebAssembly stuff.

27:50 I think traction is finally starting to take there.

27:53 And that's post the time the survey was run, but I think it is.

27:57 I just want to toss in two things here.

27:58 One, 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:07 It always throws me every time I take this question.

28:10 It's like, why that specific line?

28:12 And I know it's historical because what Python's been used for over the years, but it's always so specific.

28:17 The 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:22 I view it as what I wanted to see change for Python tomorrow, and specifically three, five, ten years from now.

28:28 I 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:39 Yeah, put them higher in that list for sure.

28:42 Absolutely.

28:43 Yeah, great point.

28:44 Okay, totally agree.

28:45 I believe Paul had something you want to bring up.

28:47 Oh, Paul, get in here.

28:48 Yeah, a quick point.

28:50 First, on the historical anomaly, Brett, when you said that, I just went back and looked at 2017.

28:56 And web crawlers was a big thing, man.

28:58 It was 32% back then.

29:00 So it is a little bit of an anomaly.

29:02 So I guess it still is.

29:04 What I'd like to call everyone's attention to is look at data analysis.

29:07 The difference between the 52 and the 46, it's gone down for people who identify to that.

29:13 If you go look at the two previous years, it went down then as well.

29:17 Counterintuitive.

29:18 Yeah, it really is.

29:19 It must mean that the data analysis folks have a lot of different languages to juggle.

29:23 All right.

29:24 A bunch of other things that we could dive into.

29:26 Kind of touched on a bunch of these.

29:28 I think this is a really interesting question.

29:30 I've always enjoyed it.

29:31 And the question is, do you consider yourself a data scientist?

29:34 And let's see, 66% say no.

29:38 29% say yes.

29:41 And then there's an other.

29:43 And I'm not really sure.

29:44 If I looked at the results, I guess that makes sense.

29:46 But it sounds like a yes or no question.

29:49 But there's some uncertainty in there.

29:51 But 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:59 I 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:13 Because I think you have a team of web developers.

30:15 And often you have one data scientist at the company that's doing the processing and analyzing and whatnot.

30:20 But if you look at the usage for Python, the highest use, it's 50% is data analysis.

30:26 And yet only 29% of the people say they consider themselves data scientists.

30:31 So I think there's something interesting.

30:33 I 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:40 I 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:47 But 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:56 So 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:04 Yeah.

31:05 Yeah, I think a lot of this goes to what Jay was saying earlier.

31:10 When we look at data analysis as these questions were asked, that's not necessarily data science for a lot of people.

31:17 So Jay was talking about using Python to pull data from public APIs and do analysis on them.

31:24 We're like, we use Python to run our accounting department, right?

31:27 Like, we pull together spreadsheets and do analysis and budgeting and automatically generate invoices.

31:33 So 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:41 Right.

31:42 They're not doing machine learning with TensorFlow and Jupyter, so it might not feel like I'm a data scientist type.

31:47 Yeah.

31:47 Yeah.

31:48 To me, this is an industry direction question.

31:51 You know, the industries that we work in are becoming more and more data focused, more and more data driven.

31:56 And we've been saying that for a decade now.

31:58 So I'm just going to keep the pattern going.

32:01 But 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:17 So it's like, yes, you have high school kids and younger folks and people who like get it that I just don't.

32:26 And 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:36 And I think as it becomes more commonplace, what we'll see is people will do anything and everything to make their jobs easier.

32:43 And in fact, that was what originally got me into Python was how do I make this job easier?

32:49 Oh, I can script this out.

32:51 And 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:00 And a lot of them are thinking about everything that they do now from a data perspective.

33:06 And I think that's where, you know, you have more people doing data analytics that aren't necessarily doing data science.

33:13 Yeah, that's a great perspective.

33:14 I'm very excited, especially for Brett and Emily on this one.

33:18 This next question, Python versions, Python 3 versus 2.

33:21 There was a little bit of uncertainty back in 2017.

33:25 25% of the people were still now I'm doing Python 2.

33:29 Now it's just down to the ones I suspect you have no choice.

33:33 It's 95% Python 3.

33:35 Brett, can you do a celebration lap on this one?

33:38 Oh, yeah.

33:39 I mean, I started to celebrate when we got past 50% and the trend continued to go down.

33:44 I mean, I basically had on faith alone and partially because this is somewhat my fault.

33:49 I did play a part in trying to make this all happen.

33:51 I kind of had to have faith that this would all trend this way.

33:54 I feel sorry for the people, those 5% that are still stuck on Python 2.

33:58 I know they're keeping friends of ours.

34:00 Yeah, 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:09 I mean, that could be 3% right there.

34:11 Yeah.

34:12 And I mean, and I do know people are still actively working on this, right?

34:16 Like 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:23 So I know it's not that people aren't trying to do it.

34:26 My 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:35 But not much we can do there.

34:36 But yes, I am very happy about this.

34:38 And at work, all of our stuff, we draw Python 2 support officially beginning of this year.

34:44 So it was a nice day when that happened.

34:48 Fantastic.

34:50 Emily, being on the inside, what are your thoughts on this as well?

34:53 Yeah, it's interesting because I feel two very like conflicted feelings about this.

34:58 So 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:05 Like in my soul, I feel like there was still this big push to like get people on Python 3.

35:11 And it doesn't feel like we were that successful that long ago.

35:14 So that's the first thing.

35:16 And 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:25 I 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:38 Yeah, 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:44 I'm sure.

35:44 That actually happened.

35:45 I mean, a company I was working for in 2019, they were on Python 2.7.

35:49 They're still on Python 2.7.

35:51 So unfortunately, they're in that small percentage that's using Python 2.7.

35:56 But yeah.

35:57 For me, this graph represents a struggle that I actually am still fighting or was fighting until very recently in Octoprint's maintenance.

36:08 Octoprint is something that is deployed at the end user space.

36:12 So I do not control the Python environment it is running in.

36:15 And so until the very latest stable version, Octoprint still supported Python 2 and 3.

36:21 And 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:36 And I'm currently looking at my own tracking stats.

36:39 And for Octoprint, the split is still 15% of all instances are still on Python 2.

36:44 But at least we now have 85%.

36:46 So we are slowly catching up to these survey results.

36:50 But still, the journey was long and hard.

36:52 And I'm really, really glad that I can finally now say, no, I'm exclusively developing in Python 3.

36:58 F-strings.

36:58 Yes.

36:59 Yes.

36:59 Yes.

37:00 3.6 is all you need.

37:01 That's where the magic is.

37:02 You got async and await and you got F-strings.

37:04 Yeah.

37:04 I think that's an interesting microcosm to think about how your app has these plugins.

37:09 And so there's that cascading dependency as well.

37:13 Yeah.

37:13 It also means that if I make decisions like dropping Python 2 support, I pretty much nuke a whole part of my ecosystem.

37:20 And that is obviously bad because I depend on my ecosystem.

37:24 It makes up like it's one of the biggest selling points of the whole thing.

37:28 So that always was, or stuff like this is always decisions that are especially hard to make.

37:34 This portion of Talk Python to Me is brought to you by the Compiler podcast from Red Hat.

37:41 Just like you, I'm a big fan of podcasts.

37:44 And I'm happy to share a new one from a highly respected and open source company.

37:49 Compiler, an original podcast from Red Hat.

37:52 With more and more of us working from home, it's important to keep our human connection with technology.

37:58 With Compiler, you'll do just that.

37:59 The 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:07 These conversations include answering big questions like, what is technical debt?

38:12 What are hiring managers actually looking for?

38:14 And do you have to know how to code to get started in open source?

38:18 I 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:27 I just listened to episode 12 of Compiler, How Should We Handle Failure?

38:31 I 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:41 It's a conversation we can all relate to, I'm sure.

38:44 Listen to an episode of Compiler by visiting talkpython.fm/compiler.

38:48 The link is in your podcast player's show notes.

38:51 You can listen to Compiler on Apple Podcasts, Overcast, Spotify, Pocket Cast, or anywhere you listen to your podcasts.

38:57 And yes, of course, you could subscribe by just searching for it in your podcast player,

39:01 but do so by following talkpython.fm/compiler so that they know that you came from Talk Python to me.

39:08 My thanks to the Compiler Podcast for keeping this podcast going strong.

39:13 There's a Zed Shaw quote for everything.

39:18 And I wondered if there was a Zed Shaw quote for this.

39:21 Guess what?

39:22 There's a Zed Shaw quote.

39:23 There is.

39:23 That's November 2016.

39:25 There's a high probability that Python 3 is such a failure it will kill Python.

39:30 So, Brett, I mean, you killer.

39:33 I'm okay with that.

39:36 Python 2 can go hang out with Cobol in the back of the room and just live on forever,

39:39 well 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:46 I am curious about that box next to the graph here about, I'm saying, compared to Python 3, Python 2 is more often applied to computer graphics, games, and mobile development.

39:56 I know for Mac.

39:57 Yeah, I'm curious about that as well.

39:58 Yeah, it was interesting.

39:59 Kind of really stood out to me.

40:00 I know for Mac, right, they're dropping Python 2.7 support, I believe, right, which happened at the beginning of this year.

40:07 So, yeah, that just was, this was just, I was curious about that.

40:10 It's got to be embedded in something.

40:12 I can also kind of indirectly talk to this.

40:14 I 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:26 Right, like cutting edge graphics and all that, but like modern, like development practices and stuff, extremely slow to switch.

40:33 I 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:41 So I think it's a combination of the embedding comment just made, plus just literally, it works, why make a change?

40:48 And we don't have time to move anything we've written in two to three.

40:51 I think Paul Hildebrandt talks about that in Hollywood and video production, right?

40:56 Yeah, Maya and all that switching over.

40:58 Yeah, I gave a talk at Disney for Paul at one point to help him try to convince folks to move to Python 3.

41:04 And they had to get the whole industry on board, right?

41:07 Like, 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:16 So the whole industry works together and they, as a group, had to decide to move to Python 3.

41:20 And I think they did it a bit later than some people might know.

41:23 And then that's what got like Maya and all those graphics tools to move over and all that.

41:28 And if you're still running all the versions, I'm sure you haven't switched.

41:30 So that's my guess as to why those specific areas are kind of taking a bit longer to switch.

41:36 Yeah, I totally agree with the game, computer graphics.

41:38 I'm not so sure about mobile because I don't even know what is happening there.

41:41 This game at one point just kind of made me wonder.

41:45 A long time ago in a galaxy far, far away, I doubled briefly in Unity.

41:49 And back then, I think it didn't have Python bindings.

41:51 And I just checked.

41:52 Apparently, they introduced Python bindings in 2020.

41:55 And they started with Python 2 in 2020.

41:59 So then I currently have the blog post in front of me, Python for Unity editor,

42:03 and where they said Python 3 support is in the works.

42:06 And that was on February 26th in 2020.

42:09 So I don't know if they have shipped it by now.

42:11 I sincerely hope so.

42:12 But that kind of explains why it might still be a factor in games development.

42:17 Because if you started, for example, on a Unity game and developed everything in Python 2,

42:21 then why port it over?

42:23 No one will look into the source anyhow because you shipped the whole game binary and stuff like that.

42:27 Yeah, very good.

42:28 Very good point.

42:29 Okay, let's move on to the next one.

42:31 And this one, I think more than most, you've got to keep in mind, this is from the fall of 2021.

42:36 And this is for Python 3.

42:38 What versions are you using?

42:40 You know, you hear about a lot of libraries these days being 3.7 or above.

42:43 I believe official support for 3.6 is no longer there, right, Emily?

42:48 It's now retired.

42:49 So it breaks down what percentage is being used.

42:52 So 3.5 or lower is only 2%.

42:56 3.6 is 7.

42:57 7 is 13.

42:58 Then it was 27% and 35% for 3.9 and 16% for 3.10.

43:04 And so there's sort of this right side heavy normal distribution type of thing.

43:09 And 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:14 Yeah.

43:15 I was going to say the timeframe, I think, as you pointed out, Michael, really important to keep in mind.

43:18 Because 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:27 So 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:37 So 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:48 And 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:56 Now 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:05 And 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:15 And it's nice to be back on this cadence.

44:17 Not 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:30 Oh, yeah.

44:31 If you're installing it from your OS provider or some other form, you're going to get an older version of Python.

44:37 And if you're learning Python, just from surveys that I've seen from Python communities, the largest member of Python communities are often...

44:47 Often students and people wanting to learn.

44:50 So how do they install Python?

44:52 Well, if it's already there, they're just going to use what's there.

44:55 If they don't, then they're probably going to go to the website and download it and then and just run the installer.

45:02 I think that we as Python professionals like to think that the way that we do things is normal or normalized, I guess.

45:10 No.

45:11 But often not.

45:12 Me 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:20 I feel like 3.9 is the largest in this case because teachers are telling their students, go here, install this, do this thing.

45:27 And 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:33 Yeah.

45:33 The other thing is if you the main way you get Python here that people got Python is by downloading the installer.

45:39 If you do that, it doesn't auto update.

45:41 Right.

45:42 And so if you did that a year and a half ago, you're just going to have that.

45:45 Oh, I have Python 3.

45:46 I'm good.

45:47 There's no auto update.

45:48 Whereas if you did brew install.

45:50 Right.

45:51 It'll say, oh, there's a new version.

45:52 There's new.

45:52 And you just generally just accept whatever the updates are.

45:55 So I think that actually has a big influence here as well.

45:58 And 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:08 There 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:16 Tanya, Paul, Jay, you all are talking to customers and working with folks.

46:22 Does this influence how you might think of working with people or presenting stuff like tutorials or things along those lines?

46:29 Yeah, I think so.

46:29 I think it would depend on like, you know, which level they're at and like which operating system that they're using maybe.

46:36 I know for myself, like I just, I literally like just started using IAM.

46:39 It just makes it a lot easier to like also switch between, you know, different Python versions.

46:44 But yeah, I think this is definitely something to think about, like when we're writing content.

46:47 For sure.

46:48 For sure.

46:48 I may have been told once or twice to not lean on the walrus operator and some of my match case operators as much.

46:56 But, you know, you do have to think about how you're writing code and some of the benefits.

47:01 And 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:17 But at the same time, we have to also understand that we might be talking to someone that says, yeah, that's great.

47:22 We're not going to touch 311 for another three years.

47:25 So it works.

47:26 We're not touching it.

47:27 Yeah.

47:28 It's fun to encourage that conversation, but also to remember that not every blog post can have the latest and greatest features included.

47:36 Yeah, for sure.

47:37 Three quick points for me.

47:38 First, Emily's first contribution to CPython was walrus.

47:42 So you will address walrus with love and respect.

47:45 I love the walrus operator.

47:47 I, for one, reach for it every time I can in my personal code.

47:51 However.

47:51 Second, I find myself blocked sometimes by, of all things, has black gotten to it yet, which is kind of funny.

47:59 And third, I believe all these problems will be solved when Brett adds install Python to the Python launcher feature set.

48:07 I think that we'll all be in good shape when that happens.

48:10 I'm curious, Emily, I want to put you on the spot.

48:13 Make a prediction.

48:14 310.

48:15 What's its number going to be next time?

48:17 Think it'll hit 35%?

48:19 Yeah, absolutely.

48:20 All right.

48:21 I 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:28 no, 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:37 And 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:49 Because 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:59 And so I'm hoping that in a way we've broken that stigma that a Python upgrade is a pain.

49:04 And I don't think I was really around to see the better days before we introduced that.

49:10 But 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:19 Let's upgrade our Docker container.

49:21 Let's run CI.

49:21 Let's see if our tests pass.

49:23 And 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:32 One, 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:40 And I think that will drive people to continue to upgrade as much as they possibly can.

49:44 Yeah, absolutely.

49:45 I do think it's been a very smooth ride from 3.5 onward.

49:50 I can't think of anything that's been a problem.

49:53 So people are encouraged to keep going.

49:55 I do think there's two things.

49:57 One, I love the Waller's operator as well, although I've taken down my website with it on accident.

50:02 Because 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:09 And that was 3.7 on the server.

50:11 But the server, the web framework scans all the files to try to find routes, URLs, even if you don't call it.

50:17 And it didn't work so well.

50:19 But I also love it.

50:20 I 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:28 And it's sort of this curve, what you would expect, like a normal-ish distribution.

50:32 I think the performance that's coming in 3.11 is going to make a lot of people say, no, no, no, no.

50:38 It's time to be cutting edge.

50:39 We'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:45 Trying to pull up the graph here for us.

50:49 Yeah, there's some amazing numbers for that.

50:52 And maybe the core data is on the team.

50:54 I want to speak real quick to this.

50:55 But there was, Eduardo pointed out, there's this article.

50:58 Maybe you all have seen it.

51:00 This says the Python 3.11 performance benchmarks are looking fantastic.

51:04 And it's kind of hard to navigate this thing.

51:07 But if you cruise through here, you see some really meaningful performance improvements, like 40% for certain use cases and so on.

51:16 So, Brett and Emily, what do you think about this?

51:18 More people kind of jump in over 3.10 to get to this faster Python.

51:22 I think in general, you're right.

51:24 I think when 3.11 comes out and people start talking about how they're getting like bare minimum 5% and certain benchmarks 60%,

51:32 which averages out probably roughly to 20% for most people, right?

51:35 I think that's going to cause a lot of people to park up and go like, yeah, we should jump.

51:39 Now, having said that, there is the potential for compatibility concerns because so much of the internals have had to be,

51:46 uprooted and changed.

51:47 That if you're depending on an extension module, that there's some really deep mucking around with CPython internals.

51:54 They might have to spend some time still to get updated.

51:57 So there might also be some cohort of users that get kind of held up because of that.

52:01 But yeah, I suspect most people are not in that group.

52:06 And so they will be able to jump straight over and people are going to go, oh, wow, this is so much faster.

52:11 For literally just business reasons alone of just literally saving on your compute costs, let's switch to the other.

52:16 Like, I think this is going to be one of those.

52:18 You 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:27 Versus other times where it's the engineers coming to management going, I want the waller's wall operator.

52:31 Why will you let me have this?

52:32 Right?

52:32 And they're all like, well, it's not worth it.

52:35 Just keep doing it.

52:35 Versus now, like, we can save 20% off our compute costs.

52:38 Oh, okay.

52:39 Yeah, let's go ahead.

52:40 Yep.

52:40 Exactly.

52:41 Everyone will eventually get Emily's waller's operator, hell or high water.

52:44 And 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:54 Or the oldest.

52:55 Right, right.

52:55 So 3.7.

52:56 Yep.

52:57 Yeah.

52:57 So currently, I'm still stuck on 3.7.

52:59 I mean, I'm happy I'm finally on 3.7 and not on 2.7.

53:02 But I hear waller's operator.

53:04 I hear matching and pattern matching.

53:06 And I hear all this stuff.

53:07 And this looks so amazing.

53:09 And I would love to play around with it.

53:10 But maybe in five years or so.

53:13 I don't know.

53:13 For now, it's like, yeah.

53:15 If you have to support something that people install on their OS providers, Python, then you are a bit out of luck.

53:22 Absolutely.

53:22 Very interesting angle there that you're constrained by.

53:25 All right.

53:26 I want to just, we only have time for one more.

53:27 I want to find out how long people, two things, actually.

53:31 Let's just, I think since we have two, a representative for the two major editors.

53:36 Let's real quick, maybe Brett and Paul give us your thoughts on if I'm going to use, write some code.

53:44 You know, what editor do I use, right?

53:46 It's VS Code and PyCharm pretty close, neck and neck.

53:50 And then it just tails off to some insane long tail after that.

53:53 Honestly, this must make both of you pretty happy that playing such an important role up front.

53:57 Yeah.

53:58 Especially, I mean, PyCharm has been up there from the get-go, the start of this survey.

54:03 And us little spunky folk over at VS Code have finally caught up to PyCharm.

54:08 Because if you go back to 2017, we were...

54:10 You and all your extensions.

54:11 That's what it is.

54:13 Because if you go back to 2017, when this was actually added, we were sixth or seventh on that list.

54:19 So we're fairly lucky that the community has decided that we are worthy, as it were, to be up there with PyCharm.

54:25 So, yeah.

54:26 Yeah.

54:26 Awesome.

54:27 I think an interesting story for this is just smart editing in general.

54:32 When 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:47 And 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:00 So for when I look at this, I see this to a degree as a demand for smart tooling, smart editing.

55:06 Yeah.

55:06 And I think that's a really good point that not only...

55:10 I think it's two signals.

55:11 It's one, the community, as Paul said, picking up on typing and smart tooling, I want you to do that.

55:15 But also the tool makers, speaking for myself, realizing that the Python community is big enough and important enough to invest in it, right?

55:24 Because there's always been a conflict of, oh, smart tooling for Python's hard.

55:29 I don't want to do it, right?

55:31 Which is honestly kind of good in a weird way because it led to us having such a good tradition of documentation, right?

55:37 And people care to so much about this.

55:39 I 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:45 And all that.

55:46 But 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:57 Everyone views this as totally reasonable and possible and something people can totally rely on and push on.

56:02 And the community going along with it and going like, yeah, this is fantastic.

56:05 We now have the equivalent tooling, more or less, of other languages.

56:08 Isn't this fantastic?

56:09 Versus, oh, I don't want to use Python because I don't get autocomplete, right?

56:12 Because 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:21 So 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:34 Versus, 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:40 Yeah.

56:40 You know you can't bring me on the show without knowing I'm going to troll a little bit.

56:43 So I just want to point out that the Vim slash Vim mode users are winning in the war between Vim and Emacs.

56:51 Yeah, it's a three to one.

56:53 Yeah, I'm going to leave that.

56:54 Yeah, the Notepad++ folks, they're out there too, but excellent.

56:58 All right, well, we are getting a little bit long on time for everyone on the show's time.

57:02 I could sit here and talk for hours about this.

57:05 This is such a great panel to be here and talking with you all about it.

57:08 It's been super fascinating.

57:09 So 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:15 I'll start it off with just WebAssembly, PyScript, very exciting new PySlice of where Python might show up and make big impact.

57:24 So thank you to everyone who's done that in particular, Brett.

57:27 And I know, Paul, you're working on PyScript stuff as well.

57:30 I'll just say I just hope the community continues to be as fantastic and wonderful as it is.

57:34 I'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:41 And I mean, I've said this before, and I'll continue to say it.

57:44 I came for the language, but I stayed for the community, and I continue to stay for the community, right?

57:47 Like, 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:54 It's not even specifically for the language anymore.

57:56 The 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:03 And 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:10 I just want to say seven years.

58:12 It took me seven years to go from, hey, this Python thing looks cool.

58:17 I 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:23 And I don't think that, you know, part of that is just me being persistent and ornery, I guess.

58:27 But then like the other part of that is the fact that the community continues to grow, the resources continue to grow.

58:34 I feel Emily's pain with working with Ruby.

58:36 My first programming language was learning Ruby.

58:38 And the thing that made me switch from Ruby to Python was that community.

58:43 So we have a couple of PSF folks and core maintainers here.

58:47 You know, thank you for making the language what it is, but also thank you for making the community what it is.

58:50 Because without it, I don't think I would be in the role that I'm at today.

58:54 I would like to just hook into this as well, because I went to my very first German PyCon in 2018.

59:00 I felt utterly out of my space.

59:03 I had large imposter syndrome because who was I?

59:06 I was this open source project maintainer who had actually self-taught herself Python because she developed a project in that.

59:13 And now I had the courage to go to a PyCon and I sat there and people just started talking to me.

59:19 And I had so very nice chats.

59:20 And actually the next PyCon, I held my first talk at one.

59:24 So I cannot say that I have ever felt so welcome in the community ever before the Python community.

59:31 So thank you very much for that.

59:33 Yeah, that's awesome.

59:35 Yeah, that seems to be a common trend on our talk.

59:38 So yeah, I actually started out programming with Java.

59:41 Then I moved to Ruby.

59:44 Some other people here did.

59:45 And then I just wasn't, I didn't feel that like the community was that supportive.

59:49 And 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:55 So thank you to everyone who is supporting me in the community.

59:58 Thank you to our core developers as well.

01:00:00 I'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.

01:00:08 Looking at all you hear on the screen and just realizing what a great community it is, what awesome contributions you all have made.

01:00:14 So thank you for being on the show.

01:00:16 Thank you for reflecting on the survey and the state of community with me.

01:00:20 It's been great to have you here.

01:00:21 See y'all later.

01:00:21 Thanks, Michael.

01:00:22 Thank you.

01:00:22 Yep.

01:00:22 Bye.

01:00:23 This has been another episode of Talk Python to Me.

01:00:27 Thank you to our sponsors.

01:00:29 Be sure to check out what they're offering.

01:00:30 It really helps support the show.

01:00:32 Take some stress out of your life.

01:00:34 Get notified immediately about errors and performance issues in your web or mobile applications with Sentry.

01:00:40 Just visit talkpython.fm/sentry and get started for free.

01:00:45 And be sure to use the promo code talkpython, all one word.

01:00:49 Listen to an episode of Compiler, an original podcast from Red Hat.

01:00:53 Compiler unravels industry topics, trends, and things you've always wanted to know about tech through interviews with the people who know it best.

01:01:01 Subscribe today by following talkpython.fm/compiler.

01:01:05 Want to level up your Python?

01:01:06 We have one of the largest catalogs of Python video courses over at Talk Python.

01:01:10 Our content ranges from true beginners to deeply advanced topics like memory and async.

01:01:16 And best of all, there's not a subscription in sight.

01:01:18 Check it out for yourself at training.talkpython.fm.

01:01:21 Be sure to subscribe to the show.

01:01:23 Open your favorite podcast app and search for Python.

01:01:26 We should be right at the top.

01:01:27 You can also find the iTunes feed at /itunes, the Google Play feed at /play, and the direct RSS feed at /rss on talkpython.fm.

01:01:36 We're live streaming most of our recordings these days.

01:01:40 If 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.

01:01:48 This is your host, Michael Kennedy.

01:01:50 Thanks so much for listening.

01:01:51 I really appreciate it.

01:01:52 Now get out there and write some Python code.

01:01:54 I really appreciate it.

Back to show page
Talk Python's Mastodon Michael Kennedy's Mastodon