Latest / Talk Python To Me / #173: Coming into Python from another Industry (part 1)
Transcript
- 0:00Not everyone comes to software development and Python through four-year computer science programs
- 0:04at universities. This episode highlights one alternative journey into Python. Over the course
- 0:10of two episodes, you will meet people who started in other industries and specializations and now
- 0:15make Python part of their daily experience. Some of them have used programming to power up their
- 0:21specialization. Others decided they'd rather just be doing programming full-time and made that switch
- 0:26over. This episode is part one of a two-part series. Our guests this time are Derek Chambers,
- 0:31Jim Taysom, Arash Shoheli, and Rob Ward. This is Talk Python To Me, episode 173, recorded July 25th,
- 0:402018.
- 0:54Welcome to Talk Python To Me, a weekly podcast on Python, the language, the libraries, the ecosystem,
- 1:00and the personalities. This is your host, Michael Kennedy. Follow me on Twitter where I'm @mkennedy.
- 1:05Keep up with the show and listen to past episodes at talkpython.fm and follow the show on Twitter
- 1:10via at talkpython. This episode is brought to you by Linode and brilliant.org. Check out what
- 1:16they're offering during their segments. It really helps support the show. Derek, Jim, Arash, and Rob,
- 1:23welcome all of you to Talk Python.
- 1:24Thanks for having us.
- 1:25Thank you.
- 1:26Great to be here.
- 1:26Thank you.
- 1:27You're welcome. It's good to have you all here. I'm really excited about this short series of shows
- 1:31that I'm doing on people getting into programming in Python from other disciplines like chemical
- 1:36engineering or accounting, things like that. So I guess we'll get started by kind of setting the stage
- 1:42and talking about where you're coming from because you're not really full-time developers.
- 1:47you're doing other stuff and using development as kind of a superpower. So I guess the first thing I
- 1:53want to ask you guys is what is your industry? What is your specialization? What do you study? What
- 1:57are you doing day to day? And I guess we'll start with Derek.
- 2:00Great. Well, I'm a mining engineer who studies earthquakes and works for the Centers for Disease
- 2:04Control. So I usually get a lot of blank stares when I introduce myself that way. Essentially,
- 2:08the Centers for Disease Control has a group that does occupational safety and health research,
- 2:13and I work within that group studying the mining industry.
- 2:15That sounds really interesting. What kind of background do you have to work in this? Did
- 2:20you go and get like a bachelor's degree in mining and geology?
- 2:24Yeah. So I have a bachelor's degree in mining engineering and then I did my master's work in
- 2:28geophysics.
- 2:29Very awesome. Jim, how about yourself?
- 2:31I work for Radiant Solutions. We're federal contractors in the DC area. My background is as a
- 2:38geographer. I got my bachelor's degree in geography with a focus on geographic information systems.
- 2:43And more recently, I've been transitioning into a full-time developer role because of picking up
- 2:50Python and all the things that's led me to.
- 2:52Yeah, that's pretty awesome. You know, I had a similar path. I studied something else and I just
- 2:56did more and more programming until I'm just like, why am I doing that other stuff?
- 2:59But are you still doing programming around GIS? I know Python and GIS are like a really good fit.
- 3:06ArcGIS and the Esri folks do a lot with Python, for example.
- 3:09Yeah. So I'm still very involved in the GIS community. The project that I'm on is very GIS
- 3:15centric, although I'm doing more of like the web backend for the project right now.
- 3:20Okay, cool. Arash, how about you?
- 3:22Yeah, I'm working for MarketSmart and we do like software and services for nonprofit organizations
- 3:28exclusively. And I was traditionally trained as a organic chemist, but I've pretty much transitioned
- 3:35over now. So I'm not really involved in doing really chemistry anymore. Maybe in the future,
- 3:39I'll maybe get back to a cross section of doing something with software and chemistry, but I'm
- 3:44pretty much doing software engineering now full-time and not really as much doing it, not really doing
- 3:49any chemistry anymore.
- 3:50That's pretty interesting. How do you feel that studying like a science, like a hard science
- 3:56background sort of helped you become a programmer or did it not help at all?
- 4:01I think it helped. And what I realized is the skill that I had as a scientist is basically
- 4:05the scientific method and the problem solving approach is actually exactly the same as software
- 4:10engineering. When I came over, I realized that the approach to solving problems, you know, forming
- 4:15a hypothesis, researching what's out there, testing something, feedback loop. That's literally
- 4:20what I did in as organic chemist every day. And so the same process is really applied to
- 4:25software engineering. It's really the tool set that's changed. Obviously, I'm a guy chemist,
- 4:30so you're in the lab messing with chemicals, trying to make stuff. And in software engineering,
- 4:35you know, you have a computer and you're trying to build software, but the approach to how you're
- 4:39going about solving a problem was actually the same. And it actually really, I think, kind
- 4:44of helped me be able to make that transition.
- 4:46Yeah. I had it, like I said, a similar background. And I feel like, you know, people will joke like,
- 4:51Michael, you almost got your PhD in math, but does that seem like a waste? Right? And I don't
- 4:55think it was. I think like those types of thought processes are really, really similar. And like you
- 5:00say, the problem solving and stuff like that. So I think it prepares you pretty well. Yeah. So Rob,
- 5:05how about yourself?
- 5:05Yeah. So I got my bachelor's in accounting and had some accounting jobs early in my career. And I've
- 5:13always been technically savvy and kind of along the way, I got exposed to SQL and that kind of led to,
- 5:20Hey, this is kind of cool and more interesting than accounting. And then from there decided I wanted
- 5:25to learn Python. And I will say like some of the others, I am not doing accounting anymore. I'm a data
- 5:31analyst. So working my way towards data science and working on a master's in analytics. So that's cool.
- 5:38So you're still going to school for your master's degree right now. How far along are you?
- 5:42Right. Right. I'm about a year and a half in and I got a year left. So I'm just taking one class at a
- 5:46time. Just keep it simple. Yeah. No reason to go full time. Right. Yeah. Kids and all that. But,
- 5:52but yeah, from an accounting standpoint, I did actually use Python when I was still doing accounting
- 5:57work a few years ago, which, you know, we can get into more a little later. Yeah. Sounds good.
- 6:03So I guess maybe go back in reverse order with you, Rob. If you're in accounting, you know,
- 6:09Excel is programmable, right? People do ridiculous stuff. I think I've seen a flight simulator created
- 6:14in Excel. Have you seen this? I have not seen that. There's a pretty intense stuff done in Excel.
- 6:18So, you know, it's probably like the natural place to do like automation and stuff like that. So why do
- 6:23you learn Python and programming? I had years ago, I had, I tried to learn C and that failed miserably.
- 6:31I mean, it's hard, man. Yeah. Yeah. I was like, what is this stuff? And so then I kind of decided
- 6:36again, you know, data science was starting to become a thing and I knew I wanted more of a
- 6:41business intelligence or data analyst type of role. I was doing accounting and, not the name drop,
- 6:48but my brother works for GitHub. So he's like, you should learn Python. I'm like, okay, I'll learn Python.
- 6:53So, you know, I think it was about, it was five years ago and, I just started on,
- 6:59I think it was that learn Python the hard way, which I know that's going to be controversial
- 7:03to some people, but, it was a good starter. And then also took some Coursera courses. They have a
- 7:09lot of Python, courses, got through about half of it until I got to, object oriented programming and
- 7:15was a little dumbfounded at the time. And, I was able to, to see the value and see that there
- 7:23were things that could be applied to things I was doing every day in my accounting work,
- 7:27which I don't know if you want to get into that right now or a little later.
- 7:30Yeah. Let's get into it maybe a little bit later, but I think there's definitely some really cool,
- 7:33like automation of, of sort of Excel and processing of those files. And there's lots of
- 7:39cool stuff in there. Yeah, for sure. Yeah. We'll dig into that. So Arash, why did you get into
- 7:44programming in Python? You were in the lab, your hands are already got like gloves on. It's hard to
- 7:48type. Yeah, yeah, yeah. I know. I mean, honestly, I went down a path where I was trying to do
- 7:54in chemistry, but I got into pharmaceuticals and, and I started not liking the big companies in the
- 7:59pharmaceuticals. I thought about, academics and it was not looking good as a very few jobs.
- 8:05Funding is kind of bad. And I'd always been interested in technology and I was doing some
- 8:09web development, not really much programming, but I was doing that stuff. I was getting more and more.
- 8:14And then eventually I kind of just, I don't know. I've always been someone that,
- 8:19that kind of takes chances. And so I kind of just was like, well, let me try to see if I can,
- 8:22you know, work my way into, into this field. And I kind of, and I got there and I kind of
- 8:26pulled myself up, and learned and, and made it through. So it was really kind of been the
- 8:32industry of, of chemistry, at least for me, didn't really kind of, kind of failed me.
- 8:37At least for me. Yeah. But actually the Excel thing you were talking about, I will say something.
- 8:40We actually had an entire application here. We built Marcus Smart out of this, Excel. We had this,
- 8:46uh, this guy who was working for one of these nonprofits who had this crazy Excel file
- 8:51that he, nonprofits would send him his data and he would just, had this,
- 8:56basically these macros he had written and it would take like, some of it would take like a data run.
- 9:01And he finally came to us and we talked to him. He's like, you know, this is, this is awesome.
- 9:05People are sending me this stuff. They love this thing, but it takes me so long to run. I'm like,
- 9:09can you put, make the software as it? We're like, yes, that's what it should be for. So we actually
- 9:14built an entire application. it's called the fundraising report card.com that is out of,
- 9:19came born out of literally of Excel files. That's awesome. Yeah. I think there's so much
- 9:24programming happens in Excel, honestly. So one thing I wanted to ask you coming from on that path,
- 9:29do you feel, I know a lot of people talk about imposter syndrome, not coming with a computer
- 9:34science degree. Was that a problem for you or were you okay with, did you feel like, do I belong in
- 9:40this programming world? Like how do I sort of prove that I earned my chops here? Yeah. Yeah. No,
- 9:44I think that's real. I mean, I think people feel it. I've definitely felt that. I think the first
- 9:48year was really tough because there was a lot of nomenclature, a lot of words. I just didn't
- 9:53understand. And literally there was a moment I, even though it was an accumulation, I literally
- 9:58remember a moment after a year where one day it just kind of like clicked and I was like, okay,
- 10:04I understand. Like, I don't understand. I don't know everything, but now I can understand. I can read
- 10:10an article. I can go through something and comprehend and work my way through it. Where before,
- 10:15you know, I would get lost sometimes just completely not understand concepts. So I think
- 10:20it's real. And you got to, you know, read, read, read. I read constantly and you got to just always
- 10:24train yourself and always be training. So to keep, and I think at some point you get over that to a
- 10:30level, you're like, okay, I think I got, you know, through it. So yeah, I think it's, I mean,
- 10:34you got, and you got to work through it. Yeah. I agree with that. I feel like once you get to the
- 10:38point where you've learned enough new things repeatedly, you're like, there's a lot of stuff I don't know,
- 10:43but if I need to know it, I can learn it really quickly. And once you kind of get that skill and
- 10:46experience, I think the posture syndrome really fades pretty quickly. But yeah, if you don't like
- 10:51continuously learning, this is not the industry that's going to work out so well.
- 10:54Yeah, for sure. I mean, I think learning is, is a, and things change so much in software engineering,
- 11:00I mean, almost on a weekly basis that you, you better be ready to be learning all the new stuff
- 11:05and at least keep up to date with it.
- 11:07Yeah, for sure. Jim, I think probably your introduction may be the simplest. If you're
- 11:12in GIS, you almost have to learn Python to do some of that stuff, right? But what, what was the
- 11:16motivation for you?
- 11:17So for me, the first couple of years of doing GIS, I didn't really need to use Python at all. I ended up
- 11:23in some mandatory training that I didn't need. And so I would spend hours and hours and hours every day,
- 11:29just completely bored out of my mind. So I started going through all the ArcGIS documentation on how
- 11:35to use ArcPy and started teaching myself Python enough that within my realm, I was willing to put
- 11:42it on my resume. And then there was another position at work that needed someone who knew Python because
- 11:49they had this old VBA application that was written for ArcGIS that they needed to replace because
- 11:56Esri was...
- 11:57Because it's VB6.
- 11:57I don't even remember what it was.
- 12:00Or VBA or whatever it was, yeah.
- 12:01They needed someone that could take what they had and recreate it in Python because Esri had been
- 12:07telegraphing for a while that they were going to be dropping VB support. And so it was more than I
- 12:14was ready for, but they couldn't find anyone else. And so I just told my boss, I was like,
- 12:18I can do the project, you just have to give me at least a little bit of time every week so I can
- 12:22do some at-home Python training and figure this out. And I did it and loved it and started doing
- 12:29more of it.
- 12:29That's really cool. It's cool how you're able to sort of laterally move in your company because
- 12:33of it too. It's not great to be stuck in mandatory training that's super boring, but at least you
- 12:38made a really good use of it.
- 12:39Yes. I use my time well.
- 12:40Awesome. Derek, how about you? What was the motivation for getting into programming?
- 12:45Yeah. I first got into programming when I started graduate school and I had an advisor
- 12:48that was really hands-off. And so his charge was kind of just go figure out something new
- 12:54and novel and useful and do it. So I ended up changing my research topic, I think three or
- 13:01four times, but I was finding that it was very hard to use some of the existing tools that I'd
- 13:05known to build sort of a larger system that would do something interesting. And so I run across this
- 13:11Python package called obspy, which implements a lot of format parsers and data classes for handling
- 13:19seismology data. And so once I found that, I got into Python and I was able to build this bigger
- 13:24system that actually looked at implementing a newer method for detecting very small seismic events.
- 13:30Like micro earthquake type things?
- 13:32Yeah, exactly. The typical seismicity associated with mining is pretty small, so you have to have some
- 13:37clever methods for detecting it in most cases.
- 13:40Nice. And you said that you're now a contributor to that project, right?
- 13:44That's right. Yeah. I'm a maintainer for obspy. I really enjoy when I can find some spare time,
- 13:48you know, making improvements or suggesting different things we can do in the future.
- 13:53Yeah, that's awesome. So what are my feelings about sort of people becoming programmers and having
- 13:59these skills is it's great to just have like a computer science degree. You can solve problems and
- 14:04programming stuff. But I think the real value of many more people having programming skills and Python
- 14:11skills is like it's kind of a superpower for the thing that you do do. So I wanted to ask you all
- 14:17sort of how you saw that in your industry. I know not all of you are still doing that day to day, but you know,
- 14:24it sounds like all of you sort of got started in programming while you were still in that industry.
- 14:29So Rob, what do you think about this sort of power up idea?
- 14:33No, yes, I can attest to that firsthand because in my last job that was truly an accounting job,
- 14:41I was I was the accounting manager for a small company in my hometown. And we had they were a
- 14:49property manager and had over 500 homes or mortgages that that I had to manage. So every month I was
- 14:57sending out these mortgage payments and I have to put them in the in our accounting package, our software,
- 15:02right. So I found out there was an easy way to or there was a way to import the data. But there was
- 15:09no easy way to create that in Excel, at least not that I could find I didn't want to manually type
- 15:15these out. So I, my first project in Python, you could say was, I figured out how to do all the loan and
- 15:23amortization payments and the principal and interest, and make them basically batch load this entire file
- 15:29for the month. And that's been my workflow, you know, made made paying the bills so much easier
- 15:34from a daily on a daily basis.
- 15:36That's great. And there's so many examples, I'm sure that are out there like that, like even in my stuff,
- 15:43you know, obviously, I have to write code to run websites and things. And I've done other types of
- 15:48programming for many years. But like, one example was, I have all of these, these videos for the courses,
- 15:55courses, and I had to import them. It's when I load a new course, and it doesn't sound like a big deal. But
- 16:01you've got to set the time and like the duration, there's just tons of stuff. I was even thinking of
- 16:06hiring somebody to like do that. And I'm like, wait a minute, I want to just write a program. And now it's
- 16:09like, you know, a five second command line type it and boom, it's done. It's, it's just so nice when you have
- 16:16those realizations, like, why am I doing this by hand? There's something surely this, this can be automated,
- 16:21right? That was the impetus for me, you know, everything was doing, doing in my hand. And I,
- 16:26and I had played around with, you know, maybe people have heard of auto hockey, you know, I'd done made
- 16:32macros with auto hockey before years ago in windows. And so this is kind of a similar idea, like, just
- 16:39automating simple tasks that you have to do anyway, but might as well just speed it up.
- 16:44Yeah, I can see somebody actually deciding, I'm going to go do that from the coffee shop,
- 16:49taking every other Friday off as their code runs and, you know, does the work they did for half a
- 16:55day. All right. So, Jim, how about you with this, this power up idea?
- 16:59So it was actually really, really amazing. Some of the things that I was able to do
- 17:03like really early on in learning Python. So a lot of the GIS workflows are really intensive and you're
- 17:10doing a lot of steps over and over. There's been a couple of things where I've done where you might be
- 17:15taking and doing like four things, but you do them a thousand times in a row. And without something
- 17:20like Python, that's almost impossible to do. And my favorite example is there was a coworker who was
- 17:27working on trying to do some correlations between some various data sets and his manual workflow that
- 17:34he was using would take him between three and four weeks. So he was spending 120 to 160 hours,
- 17:41like just manually just going through the data.
- 17:44It's like, not only is that inefficient, but that's got to be terribly ungratifying type of work.
- 17:48Oh, just terrible. Cause it was just like, click, click, click, wait five minutes, click, click,
- 17:55click, wait five minutes for weeks on end. And when I heard about that, I was like, all right,
- 18:01let's fully explain what you're trying to accomplish. And I'll work something out. And a week later I had a,
- 18:09just a little script written in Python that did his entire workflow. But instead of being able to like
- 18:17correlate, like, like the top three correlations, I was able to correlate all of the data sets
- 18:23and the entire script would run in eight minutes. So I replaced a month's worth of work with an eight
- 18:29minute job and it only took me a week to do it.
- 18:32That's incredible. What was the reaction of this guy?
- 18:35He was just completely blown away because like he went from being able to do like this type of analysis
- 18:4112 times a year to being able to do it 12 times before lunch.
- 18:46Yeah. That's amazing. I've worked at companies before where there are a lot of like real scientists
- 18:51doing scientific work. And it was this kind of thing. It was like really manual involving lots
- 18:56of different sort of software pieces like Excel or other MATLAB or stuff glued together. And there's
- 19:01they did the tedious little steps thinking like, this is how you do it. And it just, you have to do it
- 19:06this way. And me and a couple other folks, we sort of systematically started automating like the
- 19:11worst of these things like you're describing here. And every time something amazing like that came
- 19:16out, it was like, oh, you're going to automate us out of a job. It was like, oh, yeah, this was my job.
- 19:22And now I don't do it anymore. What am I going to do? But of course the next week they were doing
- 19:25higher level stuff or doing it more in more depth or whatever. And those people never got automated out
- 19:30of a job. As far as I could tell, there's always more problems that can be solved once you free up some
- 19:35time. This portion of Talk Python To Me is brought to you by Linode. Are you looking for bulletproof
- 19:42hosting that's fast, simple, and incredibly affordable? Look past that bookstore.
- 19:46And check out Linode at talkpython.fm/Linode. That's L-I-N-O-D-E. Plans start at just $5 a month
- 19:54for a dedicated server with a gig of RAM. They have 10 data centers across the globe. So no matter where
- 19:59you are, there's a data center near you. Whether you want to run your Python web app, host a private
- 20:05Git server or file server, you'll get native SSDs on all the machines, a newly upgraded 200 gigabit network,
- 20:1224-7 friendly support, even on holidays, and a seven-day money-back guarantee. Do you need a little
- 20:17help with your infrastructure? They even offer professional services to help you get started with
- 20:23architecture, migrations, and more. Get a dedicated server for free for the next four months. Just visit
- 20:28talkpython.fm/Linode. Derek, power up idea? Yeah, I think there's kind of three components to
- 20:37this. The first one is scale. You can usually do a process a lot bigger data sets with Python or some
- 20:43other programming language than you would normally with Excel or some other tools that you might be using.
- 20:48The other one is maintainability. You know, you can put Python scripts into proper version control like Git,
- 20:54see what changes and when it changes. Unlike Excel, where you might have people that are working on a
- 20:59common workbook and change different things and you don't know who changed what. And then also really
- 21:03increasing the level of automation. Just like Jim had mentioned, I've had a few experiences, nothing
- 21:08quite as dramatic, but you know, co-workers have come to me with a really manual process and asked for
- 21:13help automating it. And we've been able to do that in Python and save a lot of time. That's cool. Are
- 21:17you, are you known as like the guy that you can come with manual stuff and you can fix it? I'm trying
- 21:23not to let that reputation spread, but yeah, a little bit. This podcast won't help, I'm sure.
- 21:28Arash, how about you? An example we have is, and I think, yeah, it's very important to kind of get
- 21:34everybody to understand that, that a little bit of programming knowledge can really make you very
- 21:39powerful. We have account managers who, similar story, were doing some manual stuff that, some
- 21:45campaign data that wasn't available via an API. So they were literally going to every account and like
- 21:49putting copy and pasting it to an Excel. And of course that made it tedious. So eventually they came to us
- 21:55and I kind of, with a, with somebody helped them write a web scraper with Selenium to just basically
- 22:00scrape that data. And so something that took her basically eight hours or a whole day, or, you know,
- 22:06would just bog her down. We were able to do it like basically the same thing in five minutes, which, you know,
- 22:12they were very thankful for. And she is actually somebody who is starting to learn Python. And I think that's the
- 22:17thing, like for people to get into using programming to make themselves super powerful, they do need somebody or
- 22:24somebody to really kind of show them the benefits of it and kind of get them in the direction. Because I think it's,
- 22:30that's not the first thing they're going to think about, because it's not natural for them. And also,
- 22:35they don't really know how to get into it. So I think it really, to kind of make that happen,
- 22:39you kind of do need somebody to kind of show them the way. And then hopefully that gets them excited
- 22:44enough and realizes the benefits that they can start to go down that path and realize, yeah,
- 22:48I could be an account manager, I could be a product manager, I could be kind of anything, but with a
- 22:52little bit of programming, I could be a really powerful account manager or a powerful product manager or
- 22:57whatever field you're in.
- 22:59I think that's a really great point about sort of seeing the light and realizing that it's not
- 23:03all that complicated. Because to me, before I got into software development, programming computers
- 23:09seemed really like a deep, complicated thing that took years and years and years of studying. And you
- 23:15had to be the right type of person to have that kind of thinking and that just that knowledge,
- 23:19right. And while there is some type of like, some types of software that probably is that way,
- 23:25like writing a kernel for a new OS that you've invented, probably is like that. But a lot of the
- 23:30stuff that we're talking about, and what most people need is actually not that that bad. But
- 23:34you kind of have to see the light, right? You're like, wait, you did that in 15 minutes. And now
- 23:38my horrible job I did for eight hours once a week is now five minutes in automatic, like,
- 23:43maybe I could do that.
- 23:44Exactly. I think it's also and I try to tell everybody in our company that it's like,
- 23:48you know, you don't need just because you do a little bit of programming, or you're going to
- 23:52use some tool doesn't mean you're a programmer doesn't mean you're going to be an engineer.
- 23:55That's not the point of it. It's just a tool set that's going to help you do whatever is your job
- 24:01better. So you don't need to think that I have to be a programmer or have to be an software engineer
- 24:06to do it. It's just a tool set that you can learn just like any other tool set.
- 24:10Yeah, maybe you are into psychology, and you don't want to be a programmer, you want to be a
- 24:14psychologist. Well, I'm sure there's awesome stuff you could automate and discover and make you a
- 24:19better psychologist, right? You don't have to give that up.
- 24:20Exactly.
- 24:21All right. So let me ask Derek and Jim this one, because you guys are still doing the sort of
- 24:26what you studied day to day. How has learning programming changed what you do day to day? Like,
- 24:34has it changed your job? Or has it not really?
- 24:36So I guess I'll start, I would say that it's completely changed almost everything that I do,
- 24:41because ArcGIS, it's very good at what it is. But it's also very expensive. And so a lot of places
- 24:48don't necessarily want to use it. And it's also quite slow. And so there's a lot of things I can do in
- 24:54Python that are a lot faster. But one of the things that you end up missing is that like that interface
- 24:59that ArcGIS provides. And so now I'm doing a whole lot of like, web programming and back end
- 25:05development to like, like build up a core system. But then you still need something that like can be
- 25:11provided to a UI so that when my teammate makes a really beautiful UI, it can consume everything that
- 25:18we've processed on the back end.
- 25:21Yeah, that makes a lot of sense. I think this is really great. Derek?
- 25:24Yeah, so a lot of people that study seismology are already kind of halfway programmers, you can't
- 25:30really do much in seismology without having some programming knowledge. But a lot of tools that were
- 25:35common there were things like Fortran and scripting things together, stitching them together with bash,
- 25:40that sort of thing. So I think Python has given me maybe an advantage over a lot of those
- 25:46old workflows and that I can prototype things faster, maybe try out a new research idea much faster than
- 25:53than I would have if I wasn't using Python.
- 25:55Yeah, there's probably a lot of MATLAB and those types of things going on as well there.
- 25:59Right. Yeah.
- 26:00Yeah. So what type of packages and tool sets do you guys use? Is it like Anaconda? Is it Django?
- 26:08Derek, I'll keep going with you first, I guess.
- 26:10Yeah, I mostly use Anaconda. That's been a really great system for us just to avoid a lot of the
- 26:16compilation, especially when we have to work on Windows systems.
- 26:19Yeah, a lot of the scientific tools can be a pain to install. So getting them pre-compiled
- 26:24and just download.
- 26:25Yeah, very much so.
- 26:26Yeah.
- 26:26VC var all bad or whatever that is.
- 26:29Yeah, I've seen that a few times.
- 26:31Yeah, for sure. Jim, how about you?
- 26:33So at first, when I was just learning, really the only thing I had available was the Python
- 26:39installation that came with ArcGIS. So I had the core library and ArcPy and nothing else for
- 26:45probably the first like two years of using Python. And then when I got Anaconda, it was fantastic
- 26:51because I had all these great extra libraries that I could use. And now at this point, it's
- 26:56a whole lot of web programming. So like right now I'm working with Sanic. We're using Postgres
- 27:02and the Postgres extension. So because of that, we're using asyncpg to connect to Postgres. We're
- 27:08Docker and Kafka and all these other things. I'm using PyKafka to communicate with Kafka.
- 27:13So it's gotten to be very, very diverse compared to where I started with Windows and ArcGIS.
- 27:21That is a serious change there. That's amazing. How do you like Sanic?
- 27:27So for the most part, I really do like Sanic. It's very responsive. Every once in a while when I get
- 27:33like down into a rabbit hole and there's just like not nearly as like many things on Stack Overflow of
- 27:38like, how do I fix this problem? And I'm still wrapping my head around the whole async thing. So
- 27:44it's definitely different, but I do enjoy it. It's fast.
- 27:48That's cool. Yeah. I've definitely wanted to do more Sanic, but I actually have a little,
- 27:52a little bit of that feeling like, well, not necessarily that there'll be not enough answers
- 27:58on Stack Overflow, but there's also all the other support stuff. Like here's an example of how you
- 28:04do this, or here's a library you plug in that like fills this gap and things like that. So,
- 28:08but it definitely looks like a cool framework.
- 28:10There's definitely some of that missing. And so there's been times where it's like,
- 28:13I really wish I had just started this project using Flask instead of Sanic, but.
- 28:18But now, now you get these flask.
- 28:19We had very good reasons for choosing Sanic at the beginning.
- 28:21Yeah, absolutely. Arash, how about you?
- 28:24Yeah. As far as toolset, I mean, we're mainly doing some of the typical Python web stuff. So we use
- 28:30Flask, Frontend, we use Angular. We recently got into like Airflow, which I don't know if everyone's
- 28:36familiar, but it's from Airbnb.
- 28:38Yeah. It's like a data pipeline thing, right?
- 28:40Yeah. It's data pipeline. So we'd originally doing a lot of our data pipeline still is, was with
- 28:45Pentaho. And I really hate that software. It's good at some stuff, but it's really annoying. I hate using
- 28:51it. And so I started looking at Airflow and that's really nice because it's Python. We know Python,
- 28:56it's code. And it's just a lot easier to kind of get it up and running. That also does suffer a little
- 29:02bit right now still from, I mean, it has decent documentation, but there's still a lot of stuff
- 29:06there that it's kind of hard to find when you run into some issues. So, but it's really growing.
- 29:11And I think Google just brought out a product, which the underlying platform of it is using
- 29:15Airflow. So I think that, you know, Airflow is probably here to stay and it's going to probably
- 29:20grow. So, and then we're also using a Falcon framework for like an API that we've set up.
- 29:25So yeah, Falcon, I've had those guys on the show a while ago. It's like a really low level,
- 29:30low latency API framework, right?
- 29:32Yeah. I mean, I originally, I used to set it up maybe like two years ago when maybe I still wasn't a
- 29:38little bit understanding of all the frameworks at the time, but I'm kind of glad I did actually,
- 29:42because it was strictly for an API for our company and it is really fast and it's held up. And although
- 29:49I probably would have used one of the, if I had to do it again, I'd probably use one of the other
- 29:52frameworks that's built on top of Falcon, like is it Hugs or?
- 29:56Yeah. Hugs is one of them.
- 29:57Yeah. Yeah. I used, we used one of those, but still it's, it's a really good fast framework for what we
- 30:03want it.
- 30:03Okay. Yeah. That sounds really interesting. I haven't really talked about Airflow on the show.
- 30:07maybe give people a quick example of like what problem or what job you're accomplishing with
- 30:13Airflow, like describe like why you're using it.
- 30:15Yeah. So, I mean, basically it's kind of in the real, it's not technically an ETL, which is
- 30:21extract transform layer. So in a lot of companies, office software engineering, you get data,
- 30:25but a lot of times you need to get data from one place and kind of transform it and do some
- 30:30things to it and then bring it over to another place, usually to another database.
- 30:33And so that's where like an ETL comes in. And so those are usually workflows that you want to set
- 30:39up that maybe go through many steps. And there are different like sort of softwares out there to
- 30:44accomplish this. And Airflow is technically just like a scheduler of these flows, but it's got a nice UI
- 30:50to it. You can kind of put tasks, you know, one after the other. It's, it uses directly acyclic graphs.
- 30:58So you can, and then the thing is it's code. So because the, you write Python code for those tasks,
- 31:03you bring in a lot of programmability where a lot of the other ETL software,
- 31:07if you ever use it, they're not like that. They kind of come with prepackaged sort of modules and
- 31:13you kind of just have to use those prepackaged modules. And then it gets transported like,
- 31:17like Pentaho is, it's really a Java XML. So it's, it's taking XML code and eventually it's,
- 31:24you know, it's run by Java. So it's not, you know, that sounds fun. Yeah, it's, it's,
- 31:30yeah, I hate it. I love Airflow so much better. Although there, you know, there are differences
- 31:35and there are some things that, that sort of like Pentaho is better than an Airflow. I mean,
- 31:40right now, just to give a use case, which also brings in async is that one thing we're using
- 31:45Airflow mainly for right now is that we're, we're, some of our stuff is done in some other
- 31:49software, some email platforms. And so we need a lot of their data through their API. So
- 31:55instead of at real time getting that data API, we're like making tasks where we, where we hit
- 32:00those APIs, get all that data, transform it the way we want, and then, and then put it in our database.
- 32:06So then when we run our application, we don't need to rely on the API anymore. We just pull it from the
- 32:10database. And we actually ended up using asyncio and IO HTTP to, to speed up those tasks, which came
- 32:17really in handy and was, a great example of using async at that point because we make,
- 32:22we're making thousands of API requests. And so instead of like a task original, we were running
- 32:28was taking two and a half hours. We got it down to like 10 or 15 minutes.
- 32:31That's really awesome. Yeah. Some of that IO HTTP stuff, the client side stuff is really powerful.
- 32:36Yeah. So we're basically pulling all this stuff, pre-fetching all this stuff from APIs,
- 32:40from our different, softwares that we work with and then, transforming it into the
- 32:44forms that we need and dumping it in our database. So then that way we don't have to rely on them when
- 32:48we actually run our application.
- 32:50It sounds like a real cool use of airflow. Nice.
- 32:52This portion of Talk Python To Me is brought to you by brilliant.org. Many of you have come to
- 32:59software development and data science through paths that did not include a full-on computer science or
- 33:04mathematic degree. Yet in our technical field, you may find you need to learn exactly these topics.
- 33:09You could go back to university, but then again, this is the 21st century and we do have the internet.
- 33:15Why not take some engaging online courses to quickly get just the skills that you need?
- 33:20That's where brilliant.org comes in. They believe that effective learning is active.
- 33:24So master the concepts you need by solving fun, challenging problems yourself.
- 33:29Get started today. Just visit talkpython.fm/brilliant and sign up for free. And don't wait either.
- 33:36If you decide to upgrade to a paid account for guided courses and more practice exercises,
- 33:41the first 200 people that sign up from Talk Python will get an extra 20% off an annual premium subscription.
- 33:47That's talkpython.fm/brilliant.
- 33:50Rob, how about you? Tool set.
- 33:53Sounds like I need to learn airflow, but
- 33:55I, yeah, I'm primarily use
- 33:59Anaconda and all the associated or many of the associated
- 34:03packages that come with it. So pandas I'm using every day
- 34:06and I love Jupyter Notebooks or JupyterLab now. I have transitioned over to that. That's
- 34:12mainly what I'm using at work. And then on a personal level, I, you know, still, of course,
- 34:17love requests and beautiful soup, but that's my personal project.
- 34:21The whole web is your API. It's sweet.
- 34:23Yes, exactly.
- 34:25So you switched from Jupyter to JupyterLab. Why was that?
- 34:29That's kind of where Jupyter is headed from everything I've read. They're going to eventually,
- 34:32I think they're going to sunset Jupyter Notebooks and it's going to move exclusively to JupyterLab. I don't know the timeline. It's probably a few years off still, but they had released the beta.
- 34:45I believe it was December or January. I can't remember for sure, but I jumped on board right away and it works. I haven't had any trouble. There's a few features that are missing from JupyterLab still compared to Jupyter Notebooks.
- 35:00But the nice thing is if you have the latest version of Jupyter installed, you can run as long as the Jupyter server is running, you can run both. It doesn't care.
- 35:11It's just a UI front to the server.
- 35:13Yeah, it's just a different UI than the Jupyter Notebooks. I mean, it'll look familiar, but then there's like the file browsers is built in right there. And so is the command palette. So it's all, it's just all built in right there.
- 35:26And then you can, the nicest thing about it is you can have, you know, multiple tabs so you can compare notebooks side by side. You can actually copy cells or drag cells from one notebook to the other.
- 35:39Oh, wow.
- 35:40So, you know, I'm, yeah. So anytime I, which is really nice for reproducibility, because, you know, sometimes I might get a request at work like, hey, can you, you know, run this report, but change this.
- 35:50I actually had that happen this morning where it's basically just, you know, I had to drop in like a lot of the same code, but then make a few small changes. So you just literally, I just copy or three or four of the cells and drag them to the new notebook and run it again.
- 36:06It's cool. It's a little bit like, like an IDE version of Jupyter, right?
- 36:10Yeah, that's actually a really good description for it. Yeah.
- 36:12Yeah. We started using that a little bit. Our style, we were, we were also using Pandas and JupyterNova.
- 36:17We started using JupyterLab and actually talk about empowering. This is another example. We had one of our colleagues who's working on this app and he would get requests of these files that they would send him that are like over a million.
- 36:30And so Excel actually has real trouble when you get to really large files and he had to segment them.
- 36:34So it would crash constantly. So he kept sending it to me and be like, hey, can you take care of this?
- 36:39So finally I was like, you know what? I'm going to teach you Jupyter. It's not that hard.
- 36:43And I did teach him. And once every week he comes to me and says, Arash, thank you so much for teaching me this. Now I can just take care of this stuff and I feel more empowered.
- 36:54So that's another example of that empowerment. And then, and JupyterLab notebook, whichever one you use, like really makes that really easy actually.
- 37:02I wonder if Jupyter for those types of folks almost is like a Trojan horse for teaching them programming. Like, look, you're not a programmer. You're not writing source code.
- 37:11You've got this thing and it does like computation and you type in it. You know what I mean? Like, of course it's still Python and stuff, but like, I wonder if it's perceived differently by people who, who come at it from that perspective fresh.
- 37:22Yeah, I think it could because the interface is not, you know, because I guess there's some web versions of it, or if you run it locally, you got that kind of web looking interface.
- 37:30So it doesn't, you know, you don't have to pull up a dedicated editor that you have to install and things like that. So yeah, I think it probably is a good, you know, and it deals with data.
- 37:39And most people in some area have to deal with manipulating data. And once in Excel, yeah, you can start getting large files or having to do any kind of manipulation of sorting or any kind of complex thing in Excel.
- 37:52And it starts taking like two minutes to do that. And you're sitting there with the spinner and you're like, okay, I got to find something, something else.
- 37:59It's got to be a better way.
- 38:00I think on the flip side too, though, I mean, a lot of people can use Jupyter as kind of a crutch and build some really big systems that really should be put into proper packages and things.
- 38:10So it's kind of hard to know once you've made the transition from exploratory data analysis into something that should be, you know, more software engineered.
- 38:18That's a really good point.
- 38:19I'm probably guilty of that myself.
- 38:20There's probably cases where I should just be putting them into a script and not running it in the Jupyter notebook itself.
- 38:30It's hard to know, though. It just sort of creeps up on you.
- 38:32Yeah, definitely.
- 38:33Yeah, that's really interesting that you could take it too far, right?
- 38:36Like eventually you might want to break out of it.
- 38:38To me, doing traditionally like web development and database stuff and so on, that's usually across lots of files.
- 38:45And it's like a different way of programming than people do with exploratory data.
- 38:50And it took me for a little while to get my head around like what is the real value?
- 38:54Like why do people love Jupyter and these notebooks so much?
- 38:56But when I saw people really doing the exploratory data stuff with them, oh, this really is pretty amazing for that type of work.
- 39:05I agree.
- 39:06I didn't get Jupyter.
- 39:07I kept hearing people talking about it.
- 39:10And it was really only about probably about a year and a half ago that I saw someone demonstrate it.
- 39:15And then it clicked.
- 39:16I'm like, oh, that makes a lot of sense now.
- 39:18And it really has changed, you know, the way I can do a data analysis.
- 39:22I hardly ever open Excel anymore.
- 39:24I kind of hate it now.
- 39:25Yeah, you've got to be pretty good with pandas for that.
- 39:28But that's awesome.
- 39:29Yeah, yeah.
- 39:30That's, I mean, for sure.
- 39:32I mean, panda, but I'll echo, you know, you get with large files.
- 39:36You know, Excel just kind of starts crashing if you're trying to do a lot of, especially if you throw, you know, multiple view lookups in, you know, or literally a large data set.
- 39:46But pandas, unless you're dealing with gigabytes of data, it is really, really fast.
- 39:52Yeah, that's awesome.
- 39:53All right.
- 39:54So I want to sort of do a little bit of forward looking stuff with you guys here, maybe by starting looking backwards.
- 40:01So I guess if you have people who are coming into your industry and they don't have any programming background, what advice would you give them?
- 40:10Let's start with you, Derek.
- 40:11Okay.
- 40:11Well, I think the first one, a lot of people that I've told about programming coming from my background have said things like, well, I haven't had a class in that.
- 40:19Or I don't know about that because no one is, I just don't have any experience with it.
- 40:23And so I think getting over this mental block that you have to have taken a university or a high school course on something in order to learn it is a real barrier for some people.
- 40:32So the first one would be just understand that you don't have to be taught everything formally.
- 40:37And the second one would be to be a little bit humble and try to be comfortable being uncomfortable.
- 40:43And what I mean by that is when you try something new, especially when there's other people around you that are really good at it, you're kind of putting yourself in a position of inferiority, right?
- 40:52It can be kind of intimidating.
- 40:53Maybe it's not the best feeling.
- 40:55But if you can really just kind of take it step by step and learn what you can in those situations, I think you can really grow professionally and as a person as well.
- 41:04Yeah, that's great advice, especially in today's age, you know, like if you could either take a semester long course and disrupt your life Monday, Wednesday, Friday for two hours plus homework and exams.
- 41:16Or you could take a weekend and an online course and get pretty close, honestly, you know, even free stuff on YouTube, you may be able to sort of teach yourself.
- 41:25So it's definitely a different perspective.
- 41:27I think that people probably got to write their minds around.
- 41:30Yeah, cool.
- 41:31I think, too, if you have a specific problem that you're trying to solve, that really is a good way to learn.
- 41:36You just learn enough to solve a problem and then you get a harder problem and you kind of build your knowledge of programming as you solve the problems you have to address anyway.
- 41:44Yeah, because you can't learn it all at once.
- 41:46It just becomes overwhelming.
- 41:47All right.
- 41:48So if you can focus it, like I need to do these three things.
- 41:50How do I do those three things?
- 41:52And it becomes way easier.
- 41:53I'll echo that, you know, the statement about solving a specific problem because that was my advice, too.
- 41:58I set out to learn programming just because and but I didn't I didn't have a problem to solve at first.
- 42:03But then once I did and I didn't really make a lot of progress until I did have a problem to solve.
- 42:08You know, once I was doing that accounting job and said, oh, I can automate this step.
- 42:13And that's where I made progress because I was figuring out how to do a specific task.
- 42:18And then I'm just like he said, you move on from there and solve bigger problems and take it step by step.
- 42:23Don't feel like you have to learn everything all at once because you're you're not going to.
- 42:27And it takes time to for things to come automatically.
- 42:30I mean, there's things that I do now in Python that, you know, just come naturally.
- 42:34But a year or two years ago, I would have had to look it up on Stack Overflow again, you know, for the hundredth time.
- 42:41It's hard to realize that things like that will become automatic and you sort of go on autopilot like driving a car.
- 42:47It's like there's so many inputs and things and stuff you got to juggle.
- 42:51But eventually most of it becomes sort of just stuff you do automatically.
- 42:56Yeah, even Pandas.
- 42:57I mean, I've only been using Pandas for just over a year.
- 43:00But because I've been using it every day for about almost a year, it is natural now, you know.
- 43:06And and I know, you know, the documentation is there.
- 43:09I know how to figure out how to do something, even if I don't know how to do it off the top of my head.
- 43:13Yeah, that's excellent.
- 43:14Jim, what's your advice?
- 43:16So I would say for anyone who's working with ArcGIS, I would start by just looking at what your daily workflow is, whatever you're doing day to day.
- 43:25Go look at Arc's help docs because they've got for every function that you can use.
- 43:31They've got a Python example of how you do it with Python.
- 43:35And it's not just like the one line of how to use the function.
- 43:38It's like a short little script of beginning to end how you would use this.
- 43:43And then look at your workflow, start grabbing all those like pieces of scripts, customize it to whatever you need.
- 43:49And then all of a sudden you've replaced an entire workflow with a Python script that's your own work.
- 43:54And after you've done that, learn a little bit more about just like generic Python.
- 43:59And then even though this isn't necessarily Python related, I would highly recommend learning PostGIS and SQL because there's a lot of things that you can do in PostGIS that just aren't readily easy to do in ArcGIS.
- 44:15Right.
- 44:16Have a little bit of database knowledge, possibly.
- 44:19Yeah, great.
- 44:20Arush?
- 44:20I actually probably have a lot to say on this topic, but I'll try to keep it to some main points.
- 44:25I think it's a combination.
- 44:26I think one of the two main points is a combination of learning and doing.
- 44:30And I think you've got to balance it in the sense that some people might realize you don't do anything on titles.
- 44:37And some people might just rush in and just do stuff but not really even pick up a book and learn some fundamentals.
- 44:42I think you've got to kind of do both.
- 44:44You've got to pick up the book and learn the fundamentals.
- 44:46But most of the time you won't truly understand all of it until you actually start doing some stuff.
- 44:52So you've got to kind of do that back and forth.
- 44:53And a lot of times, decide to build the application for Flask while you're reading your Python book.
- 44:59And then after you finish the Flask, you probably want to go back and read that Python.
- 45:02Because then a lot of the things in there will start to click better for you after you've had the experience.
- 45:07And so you've got to kind of go back and forth.
- 45:10Almost an iterative learning style, right?
- 45:12Yeah.
- 45:12It's like, yeah, because I know a lot of times the stuff I read, I thought I understood it.
- 45:16Or maybe you think you understand it, but you don't really understand it.
- 45:19So you actually are somewhere stuck and you're trying to do something.
- 45:22You're like, oh.
- 45:23Then you refer to it.
- 45:25And then you're like, oh, now I understand what they were talking about in that book.
- 45:28And so going back and rereading some of the stuff that you're trying to.
- 45:32So try to learn the fundamentals.
- 45:34But don't let that from stop you trying to build stuff.
- 45:37Because as I said, as everyone said here, especially if you have a specific problem.
- 45:41Or just decide on some project.
- 45:43And just start working on it.
- 45:45And then try to read and work sort of concurrently as best as you can.
- 45:49And I think that will set you on a good path to try to learn.
- 45:53Yeah, that's great.
- 45:54So the last one, I guess, is think about the industry that you came from originally.
- 45:59Where do you see programming and things like artificial intelligence?
- 46:04And just people having these programming skills increasingly over time.
- 46:09Pushing the industry and changing the way that people do their jobs there.
- 46:13Derek, let's just start with you.
- 46:15Okay.
- 46:15I've seen a lot of hype around artificial intelligence and machine learning.
- 46:19And there's some bigger companies that are doing some things that are pretty significant with it.
- 46:23But I think there has to be a lot of footwork on the ground level.
- 46:27Maybe the average engineer is going to have to gain some more data literacy before you can get data into a format or a sensible database in order to be able to do these bigger analyses on them that really can add value.
- 46:39And so I see a lot of emphasis on data literacy, maybe simple scripting becoming part of the curriculum for a lot of engineering disciplines.
- 46:48And then I'd also like to see a lot more open source being used.
- 46:51A lot of companies will pay a lot of money for, I would even say, subpar proprietary packages that a lot of open source libraries can do for free if you just knew that they existed and knew how to install them.
- 47:05Yeah, that's a really good point about the open source stuff.
- 47:07And I think open source is definitely going to drive a lot of change for a lot of areas.
- 47:11Jim?
- 47:12In the GIS realm, one of the things that we have always had to deal with is the fact that we almost always have more data than we can actually handle.
- 47:18Because the whole world is our subject.
- 47:23And so a lot of times we'll scale our data back to a lower resolution so that we can just even begin to do the processing.
- 47:32So as new things come out that lets us work with bigger and bigger data sets, we already have those data sets available.
- 47:38We've got petabytes of satellite imagery that just, for the most part, goes relatively unprocessed just because there's nothing that can process that much data all that easily.
- 47:49Yeah.
- 47:50And as the processing power gets better and people are more capable to take advantage of it, you know, larger problems will be solved, right?
- 47:56Yep.
- 47:57Yeah.
- 47:57Very cool.
- 47:57Arash?
- 47:58Yeah.
- 47:59Actually, you know, even though I'm not in organic chemistry anymore, I still read a few articles here and there about what's going on.
- 48:04And actually one that I saw, which I was not surprised that things were in this direction, was that MIT, someone at a group at MIT, I come up with an artificial intelligence that was significantly better at predicting medicinal chemistry compounds for clinical trial type of stuff.
- 48:19So basically, you know, medicinal chemists, if people don't know chemistry, are the people who sort of investigate the type of compounds that eventually will become drugs.
- 48:27And that's a very slow, costly process of iteratively making compounds, thousands of compounds to even see, whereas eventually there is definitely a solution here for software to really step in and make that process faster and cheaper.
- 48:43And this MIT team came up with this article about it being vastly improved as far as predicting better compounds.
- 48:50And I see that's really where the direction is going.
- 48:53And there's already lots of robotic automation happening in organic chemistry.
- 48:57When I was there, I'm sure that's expanded.
- 48:59So along with artificial intelligence, you kind of see where now computers can fairly accurately design drugs for diseases and push it through the pipeline, which, you know, hopefully should reduce, we would hope to reduce the cost of drugs and be able to discover drugs faster.
- 49:15I mean, that's ultimately the goal.
- 49:16Right now, the process takes anywhere from 10 to 20 years.
- 49:19I mean, if we could discover a drug for disease in two years, that would be a lot better.
- 49:24Yeah, that would be great.
- 49:26Maybe, maybe even lower the price of.
- 49:28Maybe.
- 49:30Probably not.
- 49:31Just raise the profits, probably.
- 49:32But one thing I'm really surprised about is how much programming and automation are affecting medicine, actually, because that seems like a really human hands-on sort of thing.
- 49:44But we've got, you know, AI doing the job of radiologists in cancer detection for Google did a thing on studying readmissions and, like, finding out that people are going to have to come back to the hospital sooner.
- 49:56I believe this example.
- 49:58Like, it's really interesting how these sort of good doctor medical jobs are almost under threat from software.
- 50:05Yeah, I think it's a case where a lot of this feels like, if you're talking about medicinal chemists, I mean, the lore was you had the old medicinal chemist guy who, you know, had been making compounds for, you know, 20 years.
- 50:16And he just knew which one was going to be the right compound, right?
- 50:19So that had been basically an operation for a very long time just because there really wasn't an alternative.
- 50:25There wasn't the data, be able to crunch data, analyze it, and do the type of things predictably that we do now that we are starting to be able to do now just wasn't available.
- 50:34So you kind of had to rely on this sort of people who had just experience in the field and just sort of their experience guiding it.
- 50:42But now I think we have more data.
- 50:44We can analyze it.
- 50:45We can predict it.
- 50:46And that's going to start to replace those, unfortunately, in some level, replace those old guys with the feel of, yeah, I know this is going to be the right thing or that's going to be, you know, the right way to do it.
- 50:57And it's like, no, the data is going to drive us now.
- 50:59That's really interesting.
- 51:01Rob, how about you?
- 51:02Yes, I'm not sure from an accounting standpoint, since I'm not in the industry anymore, but I would imagine there are companies already working on, you know, the AI machine learning side of things to automate the more manual sides of doing accounting and bookkeeping and things like that.
- 51:20And probably tax wise, too, I would imagine.
- 51:23I think it's what H&R Block already advertises how they use IBM Watson for calculating your taxes or something like that.
- 51:31Oh, interesting.
- 51:32Yeah.
- 51:33So I'm sure, you know, down the road, there's going to be a point where, you know, you click two buttons and all your tax data is imported and your return is filed automatically without having to do much of anything.
- 51:45But we're probably still a little ways on.
- 51:47Yeah.
- 51:47So kind of folks can become almost like advisors more than like computers, I guess.
- 51:54Yeah, I think it kind of goes back to what some of the other guys talked about where, you know, oh, you're going to take away my job.
- 52:00Well, no, not really.
- 52:01You're just going to work on higher level, you know, planning type of things versus the actual manual work of calculating taxes or doing keeping.
- 52:10Yeah.
- 52:10And that sounds like a good thing.
- 52:11Yeah, probably.
- 52:14All right.
- 52:14So I think we have to leave it there.
- 52:15We're pretty much out of time, everyone.
- 52:17But I wouldn't be Talk Python without the final two questions.
- 52:20So just quickly, I'll go down the list.
- 52:22You guys can let me know.
- 52:23So Derek, favorite editor and notable PyPI package?
- 52:27I don't really have a favorite editor.
- 52:29I'll use Vim or Spyder or PyCharm just depending on what I'm doing.
- 52:33Notable package, I found this package called Sorted Containers, which basically I had run into some software that had used this custom AVL implementation.
- 52:42And I was able to basically get rid of a lot of the compiled C code using this package.
- 52:47So check that out if you're in the need of something like that.
- 52:49Oh, that's sweet.
- 52:50Jim?
- 52:50So I spend most of my time using PyCharm if I can.
- 52:53And my notable package would be Huppr, which is a great development package where if you've got like a web server running and anytime you make a change to your code, you want it to automatically restart.
- 53:04Huppr takes care of that for you.
- 53:06Yeah, that's really cool because normally you've got to like restart the process for it to redetect and reload the Python modules.
- 53:12But I think Flask does this automatically.
- 53:15All right.
- 53:15You can say like --debug or reload or something and it'll watch those changes.
- 53:21And maybe it's even using Huppr inside.
- 53:23That's cool.
- 53:23Definitely a nice feature.
- 53:25Arash?
- 53:25I used to be a PyCharm person, but I have switched to VS Code.
- 53:29I'm really loving VS Code, so I think I'm pretty set on sticking with it.
- 53:33And then for a package, I'll reroute it Airflow.
- 53:36I think it's still fairly new.
- 53:39I don't know how many people are using it, but if you have data pipeline workflows,
- 53:43I need to do some data processing and you want to do some scheduling, check out Airflow.
- 53:48It's a really good package and it can solve a lot of those kind of problems.
- 53:52Nice.
- 53:52It sounds like you guys are doing cool stuff with it.
- 53:54Yeah.
- 53:54Rob?
- 53:55Favorite editor.
- 53:56I'm doing, I mean, a lot of my work is, you know, Jupyter now, but if I'm doing just stuff locally,
- 54:03it's sublime generally or occasionally then.
- 54:06Okay, great.
- 54:07And package?
- 54:07Yeah, package a little one called PiperClip, which is really simple.
- 54:12It can, you just give it a path or anything and it will copy something to your clipboard,
- 54:17which is really handy when people send you files that you have to load into Pandas and the name is never consistent.
- 54:25So we literally just copy the file name and have the path set up and you concatenate together.
- 54:31It's all set to go.
- 54:33Oh, that's cool.
- 54:34I really like PiperClip.
- 54:35I use it for some automation as well.
- 54:38And just like the results will pop out and I don't want to save them to a file, but I just,
- 54:41I need to paste them somewhere else.
- 54:43And so the last bit in that step is just copy to clipboard.
- 54:46And, you know, if I want it, it's there.
- 54:48If not, like, you know, I just ignore what's in my clipboard.
- 54:51Yeah, I just, I usually just use it to grab something and put it in my clipboard and grab it from there without having to paste it.
- 54:56So.
- 54:57Yeah, great.
- 54:57Very nice.
- 54:58Yep.
- 54:58Very nice.
- 54:59Good recommendation.
- 54:59All right, everyone.
- 55:01Thank you for being on the show.
- 55:02This was a really interesting conversation and I'm looking forward to sharing with everyone.
- 55:06Thanks.
- 55:06Thanks.
- 55:07Thank you.
- 55:08Thanks.
- 55:08You bet.
- 55:09Bye.
- 55:10This has been another episode of Talk Python To Me.
- 55:13Our guests on this episode have been Derek Chambers, Jim Taysom, Arash Shoheli, and Rob Ward.
- 55:18It's been brought to you by Linode and Brilliant.org.
- 55:22Linode is bulletproof hosting for whatever you're building with Python.
- 55:26Get four months free at talkpython.fm/Linode.
- 55:30That's L-I-N-O-D-E.
- 55:32Brilliant.org wants to help you level up your math and science through fun, guided problem solving.
- 55:37Get started for free at talkpython.fm/brilliant.
- 55:41Want to level up your Python?
- 55:42If you're just getting started, try my Python jumpstart by building 10 apps or our brand new
- 55:47100 days of code in Python.
- 55:49And if you're interested in more than one course, be sure to check out the everything bundle.
- 55:53It's like a subscription that never expires.
- 55:55Be sure to subscribe to the show.
- 55:58Open your favorite podcatcher and search for Python.
- 56:00We should be right at the top.
- 56:01You can also find the iTunes feed at /itunes, Google Play feed at /play, and
- 56:07direct RSS feed at /rss on talkpython.fm.
- 56:10This is your host, Michael Kennedy.
- 56:12Thanks so much for listening.
- 56:14I really appreciate it.
- 56:15Now get out there and write some Python code.
- 56:17And I'll see you next time.
- 56:37Thank you.