Quick Start to Python for Networking & SysAdmin

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.

Retail Price: $1,595.00

Next Date: Request Date

Course Days: 2


Request a Date

Request Custom Course


Course Objectives

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.


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


Sorry! It looks like we haven’t updated our dates for the class you selected yet. There’s a quick way to find out. Contact us at 502.265.3057 or email info@training4it.com


Request a Date