thinQmaster Virtual testing partner Adaptive practice exams that find your weak spots and drill them. Every answer explained. From $69
Enroll

thinQmaster

Find your exam

Five questions free, before you decide.

Step 1 · choose a vendor

In one of our camps? Your practice exams come with the tuition — they are on your study page already.

DevOps & Automation · Foundational

Python

A high-level, interpreted, general-purpose programming language widely used for automation, scripting, data processing, and network programmability.

Definition

Python emphasizes readability with significant indentation and has a large standard library and ecosystem (requests, ncclient, Netmiko, Ansible, pytest). Python 3 is current; Python 2 is end-of-life.

Example

for dev in devices: print(dev['hostname'])

Exam tip

Indentation defines blocks; know core types (str, int, list, dict, tuple, set) and that lists are mutable and tuples immutable.

Related terms