运维岗真有人用Python脚本运维吗?

Views :
Update time : 2025-06-29 05:45:10

我在运维过程中,轻度脚本一般用shell写。

执行单一任务,输出的结果简单。

稍微复杂一些的任务,一般用python写。

需要将结果格式化输出,或写入mysql数据库,一般用python。

以前积累了不少python脚本,现在直接问deepseek,返回的代码直接用。

用完即扔. # -*- coding: utf-8 -*- """ Created on 2021-11-07 21:16:39 --------- @summary: 检查IP段存活IP --------- @author: wxzy """ import os import sys import argparse imp…。

运维岗真有人用Python脚本运维吗?
Related News
Read More >>
Blog Post With Youtube Video 为什么中国主机带宽比美国贵5倍(原来错误的10000倍),比如阿里云?
2025-06-19 12:15:13
为什么中国主机带宽比美国贵5倍(原来错误的10000倍),比如阿里云?...
Blog Post With Youtube Video 淘宝是如何做到长时间在 iOS 后台运行的?
2025-06-19 12:40:13
淘宝是如何做到长时间在 iOS 后台运行的?...
Blog Post With Youtube Video 为什么Dreamwe***er,FrontPage会被淘汰?
2025-06-19 13:35:12
为什么Dreamwe***er,FrontPage会被淘汰?...
Blog Post With Youtube Video 为什么水泥封不住尸臭?
2025-06-19 12:55:12
为什么水泥封不住尸臭?...

Leave Your Message