上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 28 下一页
摘要: import os, sysfrom PyQt5 import QtCoreimport untitledfrom PyQt5.QtCore import QBasicTimer, QThreadfrom PyQt5.QtWidgets import QDialog, QApplicationimp 阅读全文
posted @ 2022-03-27 20:45 老运维 阅读(412) 评论(0) 推荐(0)
摘要: from PyQt5.QtCore import QBasicTimerimport win32api, win32conimport telnetlibimport timeimport sysimport win32api, win32confrom PyQt5 import QtGui, Qt 阅读全文
posted @ 2022-03-27 18:06 老运维 阅读(57) 评论(0) 推荐(0)
摘要: python中在try里面出现了sys.exit()那么except还是会执行python中在except里面出现了sys.exit()那么exfinally还是会执行 阅读全文
posted @ 2022-03-27 12:03 老运维 阅读(77) 评论(0) 推荐(0)
摘要: 这个解压不了 [root@localhost ~]# tar -zxvf nginx-1.15.4.tar.gz gzip: stdin: unexpected end of filetar: Child returned status 1tar: Error is not recoverable: 阅读全文
posted @ 2022-03-24 20:10 老运维 阅读(20) 评论(0) 推荐(0)
摘要: [root@localhost sbin]# nginx -Vnginx version: nginx/1.20.1built by gcc 11.2.1 20220127 (Red Hat 11.2.1-9) (GCC) built with OpenSSL 3.0.1 14 Dec 2021TL 阅读全文
posted @ 2022-03-23 22:52 老运维 阅读(69) 评论(0) 推荐(0)
摘要: 桌面更改无法保存就改这里 ,不允许更改 阅读全文
posted @ 2022-03-22 08:58 老运维 阅读(61) 评论(0) 推荐(0)
摘要: help: 查看函数或者对象的帮助文档 type: 查看对象的类型 dir: 查看包下有哪些函数和类 字符串处理相关 字符串处理是写程序遇到的最多的一个场景,如果是以前,我可能会这样写: >>> name = 'john' >>> age = 27 >>> content = 'Hello, my 阅读全文
posted @ 2022-03-20 12:52 老运维 阅读(41) 评论(0) 推荐(0)
摘要: # -*- coding: utf-8 -*-import os, re, openpyxlimport timedef file_name(file_dir): listfile = os.listdir(file_dir) strfile = listfile.__str__() #print( 阅读全文
posted @ 2022-03-18 19:23 老运维 阅读(96) 评论(0) 推荐(0)
摘要: import wmiimport osimport sysimport refrom tkinter import messageboxc = wmi.WMI()file = open(os.path.join(os.path.dirname(os.path.realpath(sys.argv[0] 阅读全文
posted @ 2022-03-12 20:29 老运维 阅读(338) 评论(0) 推荐(0)
摘要: def re(): return None s=re() 阅读全文
posted @ 2022-03-12 19:53 老运维 阅读(32) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 28 下一页