摘要:
#_author:Astar#date:2019/11/7#正则表达式#作用 >匹配字符串s='hello star'print(s.find('ll'))# 2ret=s.replace('ll','ww')print(ret)#hewwo start=s.split(' ')print(t)#[ 阅读全文
摘要:
#_author:star#date:2019/11/7# configparser 配置文件模块import configparserconfig=configparser.ConfigParser()# config['DEFAULT']={'ServerAliveInterval':'45', 阅读全文