Python 3.11: A Guided Tour Through Code Transcripts
Chapter: Python 3.11 Performance
Lecture: Installing Specialist
Login or
purchase this course
to watch this video and the rest of the course contents.
0:00
Well, let's write some code and explore this specializing adaptive interpreter. We're going to use brandt butcher specialist tool here to do so.
0:09
So what we're going to need to do is we're just going to pip install this now.
0:14
We're not actually going to use pip, we're going to use pip X specialist is like black or to some
0:22
degree like pytest or these other tools that are not actually used as part of the runtime of your app
0:29
but it's just something you run against your code. And so it's more of a like a global utility than it is part of your application dependencies.
0:40
And so for that reason, we're going to use pipx, pip x lets us, install and manage and update global python command line tools.
0:48
So let's do that. You have to of course have pip X installed, see the website for details. We'll just pipx install specialist.
0:58
Now we have a new command specialist. So let's go over to our code and check that out.