Home | Amazing | Today | Tags | Publishers | Years | Account | Search 
Mastering Python Scripting for System Administrators: Write scripts and automate them for real-world administration tasks using Python


Leverage the features and libraries of Python to administrate your environment efficiently.

Key Features

  • Learn how to solve problems of system administrators and automate routine activities
  • Learn to handle regular expressions, network administration
  • Building GUI, web-scraping and database administration including data analytics

Book Description

Python has evolved over time and extended its features in relation to every possible IT operation. Python is simple to learn, yet has powerful libraries that can be used to build powerful Python scripts for solving real-world problems and automating administrators' routine activities. The objective of this book is to walk through a series of projects that will teach readers Python scripting with each project.

This book will initially cover Python installation and quickly revise basic to advanced programming fundamentals. The book will then focus on the development process as a whole, from setup to planning to building different tools. It will include IT administrators' routine activities (text processing, regular expressions, file archiving, and encryption), network administration (socket programming, email handling, the remote controlling of devices using telnet/ssh, and protocols such as SNMP/DHCP), building graphical user interface, working with websites (Apache log file processing, SOAP and REST APIs communication, and web scraping), and database administration (MySQL and similar database data administration, data analytics, and reporting).

By the end of this book, you will be able to use the latest features of Python and be able to build powerful tools that will solve challenging, real-world tasks

What you will learn

  • Understand how to install Python and debug Python scripts
  • Understand and write scripts for automating testing and routine administrative activities
  • Understand how to 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

Who this book is for

This book would be ideal for users with some basic understanding of Python programming and who are interested in scaling their programming skills to command line scripting and system administration.

Prior knowledge of Python would be necessary.

Table of Contents

  1. Python Scripting Overview
  2. Debugging and Profiling Python Scripts
  3. Unit Testing - Introduction to the Unit Testing Framework
  4. Automating Regular Administrative Activities
  5. Handling Files, Directories, and Data
  6. File Archiving, Encrypting, and Decrypting
  7. Text Processing and Regular Expressions
  8. Documentation and Reporting
  9. Working with Various Files
  10. Basic Networking - Socket Programming
  11. Handling Emails Using Python Scripting
  12. Remote Monitoring of Hosts Over Telnet and SSH
  13. Building Graphical User Interfaces
  14. Working with Apache and Other Log Files
  15. SOAP and REST API Communication
  16. Web Scraping - Extracting Useful Data from Websites
  17. Statistics Gathering and Reporting
  18. MySQL and SQLite Database Administrations
  19. Assessments
(HTML tags aren't allowed.)

Network Security Assessment: Know Your Network
Network Security Assessment: Know Your Network
How secure is your network? The best way to find out is to attack it. Network Security Assessment provides you with the tricks and tools professional security consultants use to identify and assess risks in Internet-based networks-the same penetration testing model they use to secure government, military, and commercial networks. With this...
Syndicating Web Sites with RSS Feeds For Dummies
Syndicating Web Sites with RSS Feeds For Dummies
Get your site noticed and bring your visitors back

Market your business, promote your blog, and make RSS work for you

In the beginning was the Internet, and then there was too much e-mail. Now there's RSS, a win-win solution for both Web sites and their visitors, and this book is your ticket to jump on the bandwagon! It helps you...

The Value of RFID: Benefits vs. Costs
The Value of RFID: Benefits vs. Costs

RFID technology presents a great potential for creating competitive advantage. By automating and simplifying data collection, it lets users more accurately track assets and monitor key indicators, which in turn gives greater visibility to the operations. However, the benefits received from this technology will be determined by how well it is...

Space and Astronomy Experiments (Facts on File Science Experiments)
Space and Astronomy Experiments (Facts on File Science Experiments)

The field of space and astronomy is devoted to the study of the heavenly bodies, their behavior, and characteristics. As the oldest natural science, knowledge of astronomy has come from some of the world's greatest scientists, including Copernicus, Galileo, Kepler, Newton, and Einstein. Astronomy experiments are not only historically important,...

Windows Forms 2.0 Programming (2nd Edition) (Microsoft .Net Development Series)
Windows Forms 2.0 Programming (2nd Edition) (Microsoft .Net Development Series)
Windows Forms 2.0 Programming is the successor to the highly praised Windows Forms Programming in C#. This edition has been significantly updated to amalgamate the sheer mass of new and improved support that is encompassed by Windows Forms 2.0, the .NET Framework 2.0, and Visual Studio 2005. This is the...
MATLAB is an interactive system for numerical computation that is widely used for teaching and research in industry and academia. It provides a modern programming language and problem solving environment, with powerful data structures, customizable graphics, and easy-to-use editing and debugging tools. This second edition of MATLAB Guide...
©2021 LearnIT (support@pdfchm.net) - Privacy Policy