Skip to Content
写给系统管理员的Python脚本编程指南
book

写给系统管理员的Python脚本编程指南

by Posts & Telecom Press, Ganesh Sanjiv Naik
February 2024
Intermediate to advanced
264 pages
3h 23m
Chinese
Packt Publishing

Overview

Python脚本编程手册,Python脚本编程指南

Key Features

  • 从基础到高级编程,全面系统地介绍Python脚本在系统管理中的作用。
  • 市场上少见的介绍将Python脚本应用于系统管理的图书。
  • 本书附有配套资源,帮助读者学以致用,将所学应用到真实场景中。

Book Description

本书是一本介绍Python编程的进阶图书,包含了大量关于Python脚本设计的主题。本书共18章,首先带领读者快速复习Python基础知识,然后循序渐进地介绍了一些实用主题,包括Python脚本的调试和分析、编写单元测试、系统管理、处理文件和数据、文件归档以及文本处理等。然后介绍了网络编程、处理电子邮件、远程控制主机、创建图形用户界面、处理日志文件、编写网络爬虫、数据收集和可视化以及操作数据库等更加高阶的主题。本书中每一知识点都结合可以运行的源码讲解,帮助读者更好地掌握Python脚本编程。

本书要求读者具备Python的基础知识,非常适合对Python编程有基本了解并且有兴趣将编程技能扩展到命令行脚本和系统管理的读者阅读。

What you will learn

  • 了解如何安装Python和调试Python脚本;
  • 了解和编写用于自动化测试和日常管理活动的脚本;
  • 了解如何编写用于文本处理、加密、解密和归档的脚本;
  • 处理PDF、Excel、CSV和文本文件,并生成报告;
  • 编写用于远程网络管理(包括处理电子邮件)的脚本;
  • 使用图形用户界面构建交互式工具;
  • 处理Apache日志文件,以及SOAP和REST API的通信;
  • 自动化数据库管理并执行统计分析。

Who this book is for

本书非常适合对Python编程有基本了解并且有兴趣将编程技巧扩展到命令行脚本和系统管理的用户。读者需要具备Python的先验知识。

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Java持续交付

Java持续交付

Daniel Bryant, Abraham Marín-Pérez
Python和NLTK实现自然语言处理

Python和NLTK实现自然语言处理

Posts & Telecom Press, Nitin Hardeniya
解密金融数据

解密金融数据

Justin Pauley
Python机器学习案例精解

Python机器学习案例精解

Posts & Telecom Press, Yuxi (Hayden) Liu

Publisher Resources

ISBN: 9781835887400