• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

Roger Perkin

Network Automation Architect

  • Network Automation
    • Network Automation Courses
    • What is NetDevOps?
    • Workflow Orchestration
    • Ansible Automation Platform
    • Ansible Workshop
    • What is Network Automation?
    • Network Automation Tools
    • ContainerLab
    • Ansible Training
      • What is Ansible?
      • Ansible Tutorial for Beginners
      • Ansible Network Automation
      • Ansible Inventory Example
    • Python Network Automation
      • Nornir
      • Python Network Automation Course
      • Python for Network Engineers
      • Python VENV / Virtual Environment Tutorial
      • Python Tutorial for Beginners
      • pyATS
    • Network Source of Truth
      • NetBox
      • Infrahub
    • NetDevops
    • DevOps Tutorial
      • Git Training
      • Terraform Training
      • Linux Training
      • Kubernetes Training
      • Devops Training Course
      • Azure Devops Training
    • Terraform
    • GIT
      • Git Commands
      • What is GitHub?
    • Docker Training
    • Confluence
    • Microsoft Azure
  • Cisco
    • ISE
    • SD WAN Training
    • Password Recovery
    • Software-Upgrade-Guides
    • BGP
    • Data Center
    • WIRELESS
  • CCIE
  • Blog
  • About
    • My Red Special Guitar
  • Contact
roger perkin ccie cisco consultant header image

Python Network Automation

Learning Python is becoming an essential skill in 2025 for network engineers.
If you want to master Python Network Automation and become a network automation engineer, the posts below are all focused on practical examples for Network Automation with Python and include many Python tutorials, scripts and network automation projects.

Python Network Automation for Beginners

All code is based on real world working examples of things I use every day to perform network programming and automate network infrastructure.

If you are new to the world of network automation check out my post titled What is Network Automation

Python is a general purpose programming language developed in the eighties and named after Monty Python (not the snake). If you really want to master Python for network automation, the posts below will be a great start.

It is the best language to automate network devices and comes installed on many Cisco devices.

Not to be confused with Python NetworkX which is a Python library for studying graphs and networks!

Python Podcasts for Network Engineers

PacketPushers Show 176: Intro to Python & Automation for Network Engineers

PacketPushers PQ Show 99: Netmiko & NAPALM For Network Automation

Python is a new skill set that allows network engineers to make changes to network devices programmatically. Using tools like Nornir & Ansible. A network automation engineer is basically the new breed of network engineer who utilises developer methodologies to improve their workflow and to become more efficient and effective in their job.

Check out 7 Python Scripts for Network Engineers

Python vs Ansible, which is best to learn?

This is a very common question and the answer is, it depends!
If you want to get started quickly with an already built platform Ansible is great, if you want to learn a language which will stay with you for years, learn Python. My advice is to learn both!

Do network engineers need to learn programming?

Check out my Python Network Automation Course

The short answer to this is Yes! But it all depends on how much coding you want to learn. Network engineers of the future are going to need to know some basic Python skills to be able to interact with network devices. Whilst you do not need to become a full stack developer, some basic Python, Git and coding skills are going to become essential. Check out more information on Python for Network Engineers

Python Network Automation for Beginners

All my code and examples assume very little knowledge of Python so you can get started straight away.

For more info check my post – Should Network Engineers Learn Python?

If you are looking for the best way to learn Python check out my Python Tutorial for Beginners

Read all my posts on Network Automation

Latest Python Network Automation Content

Python Package Manger

UV the ultimate Python Package Manager What is UV? UV is a Python package manager and installer written in Rust, it has been designed to be faster and more efficient than pip and other package …

Master Python Dependency Management Like a Pro using UV

Why Managing Python Dependencies is Crucial for Your Projects Top Dependency Management Tools for Managing Python Dependencies Why UV is the only tool I will use from now on! How to manage Python …

Nornir vs Ansible

Nornir vs Ansible The main difference between Nornir and Ansible is that Nornir is a pure Python framework where everything you do is written in Python whilst Ansible which is also a Python based …

Cisco Python Course Review

Uner the hash tag #anyonecancode Cisco have made available to anyone who registers for an account access to a free Python course. This is being run from the Cisco Network Academy. This was launched …

Python Network Automation Course

Python Network Automation Course for Beginners Coming Soon… To get earlybird access – email [email protected] Why choose Roger Perkin for Network Automation with Python training? I …

Network Automation Certification

Cisco Python Certification If you are looking for a Python Network Automation Certification, you will not find one, which is probably why you have ended up here! The network automation market has …

Netmiko

What is Netmiko in Python used for? Netmiko is a multi-vendor Python library written by Kirk Byers. It is based on Paramiko and used to simplify SSH connections to network devices. It is multi-vendor …

Should Network Engineers Learn Python?

Should Network Engineers Learn Python? A question I get asked all the time is “Should network engineers learn Python?” The short answer is yes, but as with all things IT it depends! Here …

7 Best Python Network Automation Videos on YouTube

Anyone looking to learn Python Network Automation will usually turn to YouTube first. So I have put together this list of my top resources on YouTube to learn Python to perform network automation …

Network Automation with Python

Python Network Automation In this Python for network engineers tutorial I will cover in detail some useful Python scripts network engineers can start using today. Looking for some more in depth …

Python VENV / Virtual Environment Tutorial

What is a Python Virtual Environment? Basically a Python virtual environment is a folder with a few scripts in it that allows you to create an isolated environment to work on your project allowing you …

Nornir Tutorial – Learn the Python Automation Framework

Nornir Python Automation Framework What is Nornir? Nornir is a Python based automation framework, it uses an inventory of hosts on your network and then executes tasks against those devices, Nornir is …

Start using Python for Networking today

The networking industry is telling us all that we need to learn Python, we need to do network programming, we need to learn network automation, the CLI is dead! But for most of us nothing has changed …

Best Way to Learn Python

The best way to learn Python for beginners If you are searching for the best way to learn Python coding on the internet you will be overwhelmed with the amount of information. On Udemy alone there are …

Let’s get started

Take a look at my premium courses on Ansible, Nornir & Git or buy them all with the Network Automation Bundle!

Network Automation Courses

Navigation

Python VENV Tutorial
Python for Network Engineers

Network Automation
Network Automation Courses
Network Discovery Tools
Network Automation Conferences
Ansible Training
What is Ansible?
Devops Tutorial
Network Source of Truth
DevOps Glossary
Network Monitoring Software

Contact

Contact

Get in touch with me here

[email protected]

  • Twitter
  • LinkedIn
  • YouTube
Buy me a coffeeBuy me a coffee

Copyright © 2025 · Roger Perkin · All Rights Reserved · Privacy Policy – Terms