Python for Decision Makers and Business Leaders Transcripts
Chapter: What can you build with Python
Lecture: The types of software you can build
0:00 In this chapter we're going to focus on two important things
0:03 which I think are very important to deciding is Python
0:06 the right thing for you and does it fit for your use case.
0:09 The first one is what type of applications is Python
0:12 really good at building?
0:14 Websites, API's, things like that.
0:17 Is it good for it? We're going to find out.
0:18 The other one is who uses Python and how do they use it?
0:21 I think a really important case when you're thinking about
0:25 is this technology for me?
0:27 If someone in your industry is being very successful
0:29 with a technology, well, that probably should tell you.
0:32 Maybe we can make that work for you as well.
0:34 So, I'm going to show you a bunch of use cases
0:36 of really interesting and well known companies
0:37 doing cool stuff with Python.
0:40 Let's start with what you can build.
0:41 I mentioned websites, I said that YouTube was written
0:44 in Python. Also, Instagram and a bunch of other things.
0:47 So, building websites in Python, there are many many
0:51 different web frameworks.
0:52 We're actually going to focus a little bit on that
0:53 in this course.
0:55 But yes, you can definitely, definitely build websites
0:58 with Python.
0:59 In fact, the Talk Python Training website
1:01 would it surprise you to hear that it's built in Python?
1:03 And it's fast, isn't it?
1:04 It's faster than most of the sites out there.
1:07 So, yeah. Python's pretty awesome for that.
1:09 Related to that are web services, HTTP API's, JSON.
1:14 So, if you need to build some way for applications
1:17 to interact with your code rather than humans
1:20 through a browser, then API's are the way to go.
1:23 In fact, at Talk Python Training we have mobile apps
1:26 for taking our courses both in IOS and Android
1:29 and those applications do all sorts of communication
1:32 back to the server to get the videos, to figure out
1:35 what courses you have, to get the transcripts to show
1:38 and things like that.
1:39 All of those are, of course, written in Python
1:41 and they work really really well.
1:43 So, if you need to build API's, there are many many
1:45 options, as we'll see.
1:47 Data science is a huge part of Python.
1:49 We've already talked about the incredible growth of Python
1:52 and how the folks coming from data science are finding
1:54 it very welcoming cause it's a full spectrum language.
1:57 So, many of the things in the data science world
2:00 were Python first and they start making their ways
2:03 to other areas.
2:04 Think of iPython notebooks, maybe you've heard
2:06 of Jupyter and Jupyter Lab.
2:07 This is a really cool interactive way to explore data
2:10 that works with many languages.
2:11 It started out as iPython notebooks in the Python space.
2:15 So, of course data science is really really rich
2:17 and powerful and Python.
2:19 Related to that is machine learning and AI
2:22 image recognition, deep learning, all those types of things.
2:25 Most of the libraries that do deep learning
2:28 or machine learning are Python first.
2:31 Yeah, they might work with other languages.
2:32 But, usually when these are designed, they're designed
2:35 first to be consumed from Python and then other ways
2:37 of working with them.
2:38 Maybe a C++ API or a Java API is built in.
2:41 But if you're doing some sort of machine learning
2:44 it's extremely unlikely that you can not do that well
2:47 with Python. Robotics.
2:49 Python is very powerful for building and controlling robots.
2:53 Python is used to automate factories and build all sorts
2:55 of amazing things. Also, control little, smaller robots.
2:58 So if you do anything with robotics, you can use things
3:01 like the ROS Operating System and work with that in Python.
3:05 Dev Ops. Do you have a bunch of servers or a cloud infrastructure
3:08 you need to manage?
3:09 You can use awesome things like Ansible or even
3:12 through libraries such as Paramiko.
3:14 You can issue arbitrary SSH commands to remote servers
3:17 all over the place.
3:18 So, in the Dev Ops world and infrastructure as code
3:22 Hardware as code, Python is a really important player there.
3:26 So, if you're doing something Excel-like.
3:28 Putting a bunch of data into Excel and I'm doing
3:30 a few calculations and I'm making a graph and so on
3:33 there's actually a ton of functionality in Python
3:36 in associated libraries either for directly automating Excel
3:40 or working in similar ways, but better than Excel does.
3:45 There's actually an interesting Talk Python episode
3:48 that I did called Escaping Excel Hell.
3:50 You can find it at talkpython.fm/200 and it talks about
3:54 one, how to automate Excel.
3:56 And two, what are the libraries that are
3:58 as programmatic equivalent of working with Excel.
4:00 And if you find you're doing a bunch of stuff
4:02 with excel for your business, chances are
4:04 you're kind of reaching the limits of it
4:06 or it's getting challenging.
4:07 Python doesn't have those limits.
4:09 All right, so this is just a taste of what you can build
4:12 with Python.
4:13 All the stuff on the screen here, it's very very good
4:16 at these things.
4:17 So, if these are what you need to do, these types of apps
4:19 or these types of capabilities.
4:21 Well, you're on the right track with Python.