Quick Start to Python for Networking & SysAdmin

Fast Track to Task Automation Skills for Python Experienced Attendees

TTPS4822

Intermediate

2 Days

Course Overview

Quick Start to Python for Networking / Systems Administrators is a hands-on course geared for experienced system administrators and web site administrators (with incoming basic Python experience) 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.  Working in a hands-on, workshop style format throughout the course, you’ll learn how to solve day to day problems encountered by system administrators and how to automate routine activities, as well as how to handle regular expressions and network administration.

If you are new to Python, please consider TTPS4824 Python for Network / System Administrators (for Students new to Python) (4 days) as an alternative, which teaches Python basics in addition to the topics in this course.

Course Objectives

This skills-focused course combines expert lecture, engaging group discussions, practical demos and useful real-world scenarios with plenty of hands-on labs that truly zero in on the skills you’ll need to be productive right after the training ends. 

 

Working in a hands-on learning environment led by our expert team, students will learn how to:

  • Install Python and debug Python scripts
  • Write scripts for automating testing and routine administrative activities
  • Write scripts for text processing, encryption, decryption, and archiving
  • Handle files, such as pdf, excel, csv, and txt files, and generate reports
  • Write scripts for remote network administration, including handling emails
  • Build interactive tools using a graphical user interface
  • Handle Apache log files, SOAP and REST APIs communication
  • Automate database administration and perform statistical analysis
  • Work with Ansible and Python (optional)

 

Course Prerequisites

This intermediate-level course is geared for those who want to gain expert understanding of how to install Python, debug Python scripts and write scripts for automating testing and routine administrative activities.Python fundamentals are NOT covered in this class. If you are new to Python, please consider TTPS4824 Python for Network / System Administrators (for Students new to Python) (4 days) as an alternative, which teaches Python basics in addition to the topics in this course.

Please see the Related Courses tab for specific Pre-Requisite courses, Related Courses that offer similar skills or topics, and next-step Follow-On Courses and Learning Path recommendations.

Course Agenda

Please note that this list of topics is based on our standard course offering, evolved from typical industry uses and trends. We’ll work with you to tune this course and level of coverage to target the skills you need most.

  1. Debugging and Profiling Python Scripts
  • Debugging and Profiling Python Scripts
  • What is debugging?
  • Error handling (exception handling)
  • Debuggers tools
  • Debugging basic program crashes
  • Profiling and timing programs
  • Making programs run faster
  1. Unit Testing - Introduction to the Unit Testing Framework
  • Unit Testing - Introduction to the Unit Testing Framework
  • What is unittest?
  • Creating unit tests
  • Methods used in unit testing
  1. Automating Regular Administrative Activities
  • Automating Regular Administrative Activities
  • Accepting input by redirection, pipe, and input files
  • Handling passwords at runtime in scripts
  • Executing external commands and getting their output
  • Capturing output using the subprocess module
  • Prompting for passwords during runtime and validation
  • Reading configuration files
  • Adding logging and warning code to scripts
  • Putting limits on CPU and memory usage
  • Launching web browser
  • Using the os module for handling directory and files
  • Making backups (with rsync)
  1. Handling Files, Directories, and Data
  • Handling Files, Directories, and Data
  • Using the os module to work with directories
  • Copying, moving, renaming, and deleting data
  • Working with paths
  • Comparing data
  • Merging data
  • Pattern matching files and directories
  • Metadata: data about data
  • Compressing and restoring
  • Using the tarfile module to create TAR archives
  • Using a tarfile module to examine the contents of TAR files
  1. File Archiving, Encrypting, and Decrypting
  • File Archiving, Encrypting, and Decrypting
  • Creating and unpacking archives
  • Tar archives
  • ZIP creation
  • File encryption and decryption
  1. Text Processing and Regular Expressions
  • Text Processing and Regular Expressions
  • Text wrapping
  • Regular expressions
  • Unicode strings
  1. Basic Networking - Socket Programming
  • Basic Networking - Socket Programming
  • Sockets
  • The http package
  • The ftplib module
  • The urllib package
  1. Remote Monitoring of Hosts Over Telnet and SSH
  • Remote Monitoring of Hosts Over Telnet and SSH
  • The telnetlib() module
  • The subprocess.Popen() module
  • SSH using fabric module
  • SSH using the Paramiko library
  • SSH using the Netmiko library
  1. SOAP and REST API    Communication 
  • SOAP and REST API Communication
  • What is SOAP?
  • What is a RESTful API?
  • Working with JSON data

BONUS CONTENT / Time Permitting

  1. MySQL and SQLite Database Administrations
  • MySQL and SQLite Database Administrations
  • MySQL database administration
  • SQLite database administration
  1. Ansible and Python
  • Reading and writing to files
  • Filesystem interaction
  • Testing modules on Python 3

Course Materials

Hands-on Setup Made Simple!  All course software (limited versions, for course use only), courseware files, hands-on lab guides, labs and solutions, data sets and resources (as applicable) are provided for you in our “easy access / no install required” high-speed remote lab environment.  Our dedicated live tech team works with every student to ensure everyone is set up with working access and ready to go prior to every course start date, ensuring a smooth delivery and great hands-on experience. All your coursework can be accessed or downloaded after class, so you never lose or leave behind your work or materials.

Raise the bar for advancing technology skills

Attend a Class!

Live scheduled classes are listed below or browse our full course catalog anytime

Special Offers

We regulary offer discounts for individuals, groups and corporate teams. Contact us

Custom Team Training

Check out custom training solutions planned around your unique needs and skills.

EveryCourse Extras

Exclusive materials, ongoing support and a free live course refresh with every class.

Mix, Match & Master!
2FOR1: Two Courses, One Price!

Enroll in *any* two public courses (for 2023 *OR* 2024 dates!) by December 31, for one price!  Learn something new, or share the promo!

Click for Details & Additional Offers

Learn. Explore. Advance!

Extend your training investment! Recorded sessions, free re-sits and after course support included with Every Course
Trivera MiniCamps
Gain the skills you need with less time in the classroom with our short course, live-online hands-on events
Trivera QuickSkills: Free Courses and Webinars
Training on us! Keep your skills current with free live events, courses & webinars
Trivera AfterCourse: Coaching and Support
Expert level after-training support to help organizations put new training skills into practice on the job

The voices of our customers speak volumes

Special Offers
Limited Offer for most courses.

SAVE 50%

Learn More