[MUSIC].
>> I'm Burke Holland.
>> I'm Nina Zakarenkor.
>> This is five things that you didn't know that Python could do.
>> That's right. Here's a freebie,
did you know that Python is 28 years old?
>> Really? Did you know that I'm 28 years old?
That's a fat lie.
Thing number one, Python empowers scientists. How does that work?
>> There's a scientific base in
Antarctica called Concordia Station and the scientists
there used Python for a lot of
their analysis, graphing, data collection.
They use it for
a cool experiment where they drilled down two miles
into the earth to analyze air that's
trapped under the ice from a million years ago.
>> In the ground?
>> Yeah.
>> You'd think they would go up to get air,
but now you have to go down to get air apparently.
>> Yeah. The really old air.
>> Really old air. That's what you mean.
So what else can you do? How else is it empower scientists?
>> Yeah, so scientists use a ton
of available AI and ML tools in Python.
There's SciPy, Pandas, Pytorch,
lots of other things and then on
Azure you can use hosted Jupiter Notebooks.
They're called Azure notebooks and they're really cool.
>> Shameless plug?
>> Yeah.
>> I know a couple of things about Python.
Did you know that a Python can eat your whole body in one byte.
>> That's not true.
>> It's true. Also other facts about Python,
it's the second fastest land animal?
>> That is also not true.
>> It says so right here it.
>> That's the bug facts not real facts.
>> It's on the Internet. So it's true.
Thing number two, Python is used to create a lot
of video games and art that you probably used or have seen before.
>> Yeah. So I think the most famous example here is Eve Online.
It's a massive multiplayer game with some point they
had a 100,000 users or players rather,
and there's variant of Python called
Stackless Python and that allowed
them to iterate on their game very quickly.
>> There's also a potato game build with Python?
>> Yeah. So there's a game called
Super Potato Bruh and you can find
that on C. So it's a game that was
written entirely in Python and the premise of it, it's a platform.
So you're a baked potato and you're trying to save
all of your vegetable friends from an evil Ladle
that wants to kidnap them and turn them into soup.
>> Sounds so exciting. I'm trying
to think of a good potato joke here
but I don't really have one.
Potato jokes have to come naturally you know.
>> Yeah.
>> You can't russ it. Thing number three.
You could do home automation with Python.
So there's a lot of home automation things.
I use the Amazon Echo.
>> Yeah.
>> What can you do with Python?
>> So there is a Python package called
Home Assistant and it's a really popular home automation Library
and you can use that to make
a home automation system that focuses
on security and privacy first.
It's important.
>> Are you saying that me talking
to my Home Assistant isn't private.
I tell Alexa all my darkest secrets.
I just sit and talk to it. It's not good.
>> Yeah.
>> You can run it on a Raspberry Pi at home.
>> Oh, okay. It's all contained inside the walls of your house.
>> Right, and you can connect your IoT vacuum cleaner,
and your IoT light bulbs,
and your IoT rice cooker.
>> All that would be funny if it wasn't true that I actually
owned an IoT vacuum cleaner,
like when you have reached peak 2019 already.
>> We're back. Yeah.
>> All right, do you want to do in GooGoo cluster?
>> Yeah.
>> This is the original.
It's got Peanut, Carmel,
Marshmallow, Nuget, and Python.
>> Is this your favorite?
>> It's everybody's favorite. It's so delicious.
>> Oh, it's very messy.
>> It is very messy. Also there's
like 10,000 calories in one of those.
So you don't need to eat again.
Well much like a snake,
you're good for a month.
Thing number four, scaling.
Python scales and how do we know that?
>> Well Instagram, it runs Django which is that
Python web framework and Instagram has one billion users.
>> There's a few people that use Instagram.
>> Yeah.
>> I'm not one of them by the way but I've heard of it.
There's a pug [inaudible].
>> Oh, it's a puppy.
>> Oh yeah, there's another one.
I follow a lot of Pug accounts.
Oh, that Pug has its own pug like a pet pug.
>> [inaudible].
>> The pet pug. The pug has a pug.
I've heard of it before.
All the kids are using that. Also there's Reddit and?
>> Yeah, Reddit and Quora are both Python-based.
Dropbox is also Python-based.
Guido van Rossum, Python's creator has worked there for
a few years now and then read the docs, write the docs.
Everybody loves docs.
That's a very popular Python package that is hosted on Azure.
>> Did you know there's only two kinds of documentation?
>> What are they?
>> The kind people don't read and the kind they complain about.
Thing number five, hardware.
You can run Python on hardware.
>> That's right.
>> There'd be like two-by-fours and hammers?
>> Yeah.
>> It's a weird place to put Python.
>> Now is, yeah, quick Word stuff.
So there's two subsets of Python
calls micro Python and circuit Python.
>> Okay.
>> Then there are lots of hardware platforms out there.
My favorites come from Adafruit.
So this right here is a circuit playground express.
This runs Python and it's got a lot of stuff on it.
It's got LEDs, it's got light sensors, temperature sensors,
buttons switches, everything that you need to
get started with the hardware project without having a starter.
>> Nice. Weren't you telling
the BBC gave something like this to every child.
>> Yeah. So the BBC gave away some thing called a microbic
that runs micro Python to every child of a certain age in the UK.
So the fun thing about this particular device is
if you don't know Python and maybe you don't know how to program,
there's something out there called Microsoft MakeCode.
>> Oh, okay.
>> Yeah, that allows you to program this
with just a drag-and-drop interface.
>> Oh nice, and how much does it go for?
>> I want to say this is 30 or 35 bucks.
>> Not that.
>> Yeah.
>> I'm Burke Holland.
>> I'm Nina Zakarenkor.
>> That's five things that you didn't know that Python can do.
[MUSIC]