8351  Reviews star_rate star_rate star_rate star_rate star_half

Python for Networking & Systems Administration / SysAdmin

Targeted for network administrators looking to automate administrative tasks across a set of distributed clients Python for Networking / Systems Administrators is an introductory and beyond-level...

Read More
$2,595 USD
Duration 4 days
Course Code TTPS4824
Available Formats Classroom, Virtual

Overview

Targeted for network administrators looking to automate administrative tasks across a set of distributed clients Python for Networking / Systems Administrators is an introductory and beyond-level practical, hands-on Python training course that leads the student from the basics of writing and running Python scripts to more advanced features such as file operations, regular expressions, working with binary data, and using the extensive functionality of Python modules with a focus on network-focused modules such as SSH, Git, and RESTful services. This comprehensive, practical course provides an in-depth exploration of working with the programming language, not an academic overview of syntax and grammar. Students will immediately be able to use Python to complete these types of tasks in the real world.

Skills Gained

This course combines engaging, informed instructor presentations, demonstrations and discussions with extensive machine-based student labs and practical project work. Throughout the course students will learn to write essential Python scripts using the most current and efficient skills and techniques.

  • Create working Python scripts following best practices
  • Use python data types appropriately
  • Read and write files with both text and binary data
  • Search and replace text with regular expressions
  • Get familiar with the standard library and its work-saving modules
  • Use lesser known but powerful Python data types
  • Create "real-world", professional Python applications
  • Work with dates, times, and calendars
  • Know when to use collections such as lists, dictionaries, and sets
  • Understand Pythonic features such as comprehensions and iterators
  • Write robust code using exception handling
  • Automate network administrative tasks across distributed clients using SSH, REST, and More

Who Can Benefit

This introductory-level Python course is appropriate for advanced users, system administrators and web site administrators who want to use Python to support their server installations, as well as anyone else who wants to automate or simplify common tasks with the use of Python scripts.

Prerequisites

Students should have basic development experience in any programming language, along with a working, user-level knowledge of Unix/Linux, Mac, or Windows.

Course Details

Course Agenda

Chapter 1: An Overview of Python

  • What is Python?
  • The Birth of Python.
  • About Interpreted Languages
  • Advantages of Python
  • Disadvantages of Python
  • How to get Python
  • Which version of Python?
  • The end of Python 2
  • Getting Help
  • One day on Dagobah

Chapter 2: The Python Environment

  • Starting Python
  • If the interpreter is not in your PATH
  • Using the interpreter
  • Trying out a few commands
  • Running Python scripts (explicit)
  • Running Python scripts (implicit)
  • Using pydoc
  • Python Editors and IDEs

Chapter 3: Getting Started

  • Using variables
  • Keywords and Builtins
  • Variable typing
  • Strings
  • Single-delimited string literals
  • Triple-delimited string literals
  • Raw string literals
  • Unicode characters
  • String operators and methods
  • String Methods
  • Numeric literals
  • Math operators and expressions
  • Converting among types
  • Writing to the screen
  • String Formatting
  • Legacy String Formatting
  • Command line parameters
  • Reading from the keyboard

Chapter 4: Flow Control

  • About flow control
  • What’s with the white space?
  • if and elif
  • Conditional Expressions
  • Relational Operators
  • Boolean operators
  • while loops
  • Alternate ways to exit a loop

Chapter 5: Array types

  • About Array Types
  • Lists
  • Tuples
  • Indexing and slicing
  • Iterating through a sequence
  • Unpacking tuples
  • Nested sequences
  • Functions for all sequences
  • Using enumerate()
  • Operators and keywords for sequences
  • The range() function
  • List comprehensions
  • Generator Expressions

Chapter 6: Working with Files

  • Text file I/O
  • Opening a text file
  • The with block
  • Reading a text file
  • Writing to a text file

Chapter 7: Dictionaries

  • About dictionaries
  • When to use dictionaries?
  • Creating dictionaries
  • Getting dictionary values
  • Iterating through a dictionary
  • Reading file data into a dictionary
  • Counting with dictionaries
  • About sets
  • Creating Sets
  • Working with sets

Chapter 8: Functions

  • Defining a function
  • Returning values
  • Function parameters
  • Variable scope

Chapter 9: Sorting

  • Sorting Overview
  • The sorted() function
  • Custom sort keys
  • Lambda functions
  • Sorting nested data
  • Sorting dictionaries
  • Sorting in reverse
  • Sorting lists in place

Chapter 10: Errors and Exception Handling

  • Syntax errors
  • Exceptions
  • Handling exceptions with try
  • Handling multiple exceptions
  • Handling generic exceptions
  • Ignoring exceptions
  • Using else
  • Cleaning up with finally

Chapter 11: Using Modules

  • What is a module?
  • Creating Modules
  • The import statement
  • Where did __pycache__ come from?
  • Module search path
  • Packages
  • Example
  • Module Aliases
  • When the batteries aren’t included

Chapter 12: An Introduction to Python Classes

  • About O-O programming
  • Defining classes
  • Constructors
  • Instance methods
  • Properties
  • Class methods and data
  • Static Methods
  • Private methods
  • Inheritance
  • Untangling the nomenclature

Chapter 13: Regular Expressions

  • Regular Expressions
  • RE Syntax Overview
  • Finding matches
  • RE Objects
  • Compilation Flags
  • Groups
  • Special Groups
  • Replacing text
  • Replacing with a callback
  • Splitting a string

Chapter 14: Network Programming

  • Grabbing a web page
  • Consuming Web services
  • HTTP the easy way
  • sending e-mail
  • Email attachments
  • Remote Access
  • Copying files with Paramiko

Chapter 15: Sockets

  • Sockets
  • Socket options
  • Server concepts
  • Client concepts
  • Application protocols
  • Forking servers

Chapter 16: Multiprogramming

  • Multiprogramming
  • What Are Threads?
  • The Python Thread Manager
  • The threading Module
  • Threads for the impatient
  • Creating a thread class
  • Variable sharing
  • Using queues
  • Debugging threaded Programs
  • The multiprocessing module
  • Using pools
  • Alternatives to multiprogramming

Chapter 17: Closures

  • What is a closure?
  • Why do I need one?
  • How can I make one?
  • Factory Function
  • Using functools.partial()

Chapter 18: Serializing Data: XML, XPath, JSON, CSV

  • About XML
  • Normal Approaches to XML
  • Which module to use?
  • Getting Started With ElementTree
  • How ElementTree Works
  • Elements
  • Creating a New XML Document
  • Parsing An XML Document
  • Navigating the XML Document
  • Using XPath
  • About JSON
  • Reading JSON
  • Writing JSON
  • Customizing JSON
  • Reading CSV data
  • Nonstandard CSV
  • Using csv.DictReader
  • Writing CSV Data
  • Pickle
|
View Full Schedule

Schedule

5 options available

  • May 19, 2025 - May 22, 2025 (4 days)
    Virtual | 10:00 AM 6:00 PM EDT
    Language English
    Select from 1 options below
    Virtual |10:00 AM 6:00 PM EDT
    Virtual | 10:00 AM 6:00 PM EDT
    Enroll
    Enroll Add to quote
  • Jul 21, 2025 - Jul 24, 2025 (4 days)
    Virtual | 10:00 AM 6:00 PM EDT
    Language English
    Select from 1 options below
    Virtual |10:00 AM 6:00 PM EDT
    Virtual | 10:00 AM 6:00 PM EDT
    Enroll
    Enroll Add to quote
  • Sep 15, 2025 - Sep 18, 2025 (4 days)
    Virtual | 10:00 AM 6:00 PM EDT
    Language English
    Select from 1 options below
    Virtual |10:00 AM 6:00 PM EDT
    Virtual | 10:00 AM 6:00 PM EDT
    Enroll
    Enroll Add to quote
  • Oct 6, 2025 - Oct 9, 2025 (4 days)
    Virtual | 10:00 AM 6:00 PM EDT
    Language English
    Select from 1 options below
    Virtual |10:00 AM 6:00 PM EDT
    Virtual | 10:00 AM 6:00 PM EDT
    Enroll
    Enroll Add to quote
  • Dec 8, 2025 - Dec 11, 2025 (4 days)
    Virtual | 10:00 AM 6:00 PM EDT
    Language English
    Select from 1 options below
    Virtual |10:00 AM 6:00 PM EDT
    Virtual | 10:00 AM 6:00 PM EDT
    Enroll
    Enroll Add to quote

FAQ

Does the course schedule include a Lunchbreak?

Classes typically include a 1-hour lunch break around midday. However, the exact break times and duration can vary depending on the specific class. Your instructor will provide detailed information at the start of the course.

What languages are used to deliver training?

Most courses are conducted in English, unless otherwise specified. Some courses will have the word "FRENCH" marked in red beside the scheduled date(s) indicating the language of instruction.

What does GTR stand for?

GTR stands for Guaranteed to Run; if you see a course with this status, it means this event is confirmed to run. View our GTR page to see our full list of Guaranteed to Run courses.

Does Ascendient Learning deliver group training?

Yes, we provide training for groups, individuals and private on sites. View our group training page for more information.

What does vendor-authorized training mean?

As a vendor-authorized training partner, we offer a curriculum that our partners have vetted. We use the same course materials and facilitate the same labs as our vendor-delivered training. These courses are considered the gold standard and, as such, are priced accordingly.

Is the training too basic, or will you go deep into technology?

It depends on your requirements, your role in your company, and your depth of knowledge. The good news about many of our learning paths, you can start from the fundamentals to highly specialized training.

How up-to-date are your courses and support materials?

We continuously work with our vendors to evaluate and refresh course material to reflect the latest training courses and best practices.

Are your instructors seasoned trainers who have deep knowledge of the training topic?

Ascendient Learning instructors have an average of 27 years of practical IT experience and have also served as consultants for an average of 15 years. To stay current, instructors spend at least 25 percent of their time learning new, emerging technologies and courses.

Do you provide hands-on training and exercises in an actual lab environment?

Lab access is dependent on the vendor and the type of training you sign up for. However, many of our top vendors will provide lab access to students to test and practice. The course description will specify lab access.

Will you customize the training for our company’s specific needs and goals?

We will work with you to identify training needs and areas of growth.  We offer a variety of training methods, such as private group training, on-site of your choice, and virtually. We provide courses and certifications that are aligned with your business goals.

How do I get started with certification?

Getting started on a certification pathway depends on your goals and the vendor you choose to get certified in. Many vendors offer entry-level IT certification to advanced IT certification that can boost your career. To get access to certification vouchers and discounts, please contact info@ascendientlearning.com.

Will I get access to content after I complete a course?

You will get access to the PDF of course books and guides, but access to the recording and slides will depend on the vendor and type of training you receive.

How do I request a W9 for Ascendient Learning?

View our filing status and how to request a W9.

Reviews

vary good online learning. instructor is vary good the way he explained every thing.

They were very good. They made sure everyone was able to get into the training and got all of the material needed for class.

Very good couse and again we would like to see more videos on removing FRUs

Quick to sign-up to course, and was able to garner some information from the course.

Topics, material and specially instructor (Graham Godfrey) was beyond my expectations.