摘要:
1、pip install flash 2、pip3 install -r requirements.txt 3、pip3 install -r requirements.txt -i http://pypi.douban.com/simple --trusted-host pypi.douban. 阅读全文
摘要:
#client端代码 import socket client = socket.socket() client.connect(('127.0.0.1',3999)) while True: content=input('>>>') client.send(bytes(content,'utf-8 阅读全文
摘要:
from socket import * import time startTime = time.time() target = input('需要扫描的主机: ') t_IP = gethostbyname(target) print('开始扫描主机: ', t_IP) for i in ran 阅读全文
摘要:
# 导入工具包 from wxauto import WeChat import time """ # 给单人发送消息 to = "文件传输助手" # 要发送的人 msg = "今天的日报请查收:" # 要发送的消息 file = "G:/yzyb2.xls" # 要发送的文件 wx = WeCha 阅读全文
摘要:
#案例1,多文件行遍历循环import fileinputfor line in fileinput.input(files=('g:\main.py','g:\yibao.txt')): print(line) print('hello,world')#循环体fileinput.close() # 阅读全文