Cert EspressoLearn. Practise. Find your flow.

A LITTLE FOCUS.
A BIG NEXT STEP.

Your pace. Your space.
CompTIA · Linux+ XK0-006

Python for administrators

Linux+ XK0-006 · Lesson 23 of 28 · 3:07:19

YouTube loads only after you press play. This chapter opens at its timestamp in the full course. Watch on YouTube ↗

In this lesson

Prepare for the Linux+ XK0-006 exam (CompTIA Linux+ V8). In this lesson: supported Python 3 versions, virtual environments with venv, installing dependencies with pip and requirements files, modules and packages, data types, and the PEP 8 style guide, with Pinecrest Media, a fictional video streaming company, as the running example. Includes three original practice questions.

Preview the topics
  • An admin must install a library for one monitoring script, without touching the packages of the system Python. What should the admin do first?
  • A script must run on twenty servers, which need the same library versions as the test server. Which command saves those versions on the test server?
  • A script works, but the reviewers ask for PEP 8 style. Which function definition follows it?