摘要:
1 import re 2 3 def multifly_cha(s): 4 ret = float(s.split("*")[0]) * float(s.split("*")[1]) if "*" in s else float(s.split("/")[0]) / float(s.split(" 阅读全文
摘要:
Configparser : If you want get the data with this formation: [DEFAULT]ServerAliveInterval = 45Compression = yesCompressionLevel = 9ForwardX11 = yes [b 阅读全文
摘要:
1 import os 2 def file_handler(backend,res=None,type='fetch'):# write the function to simplify the data 3 if type == 'fetch': 4 with open('proxy.conf' 阅读全文
摘要:
# l = [1,2,3]# l.__iter_() #iter(l)# Decorator:it's a function and can add additional functions for other functions# Two principles:#. 1): can't modif 阅读全文
摘要:
# r r+ w w+ a(add in the eend b+""" # f = open('陈粒','r',encoding='utf-8') data = f.read() print(f.readable()) print(f.writable()) print(f.readline()) 阅读全文