摘要:
import json from os import makedirs from os.path import exists RESULTS_DIR = 'results' exists(RESULTS_DIR) or makedirs(RESULTS_DIR) def save_data(data 阅读全文
摘要:
供参考 from multiprocessing import Pool import time def function(index): print(f'Start process: {index}') time.sleep(3) print(f'End process {index}') if 阅读全文
摘要:
知道前三位,后四位,查找归属地是聊城的手机号,代码简写如下 from phone import Phone prefixPhone = '1xx' middlePhone = '0000' suffixPhone = 'xxxx' for i in range(0, 10000): stri = s 阅读全文
摘要:
查询mysql中非系统表的数据表行数 且倒排 select table_schema,table_name,table_rows from information_schema.tables where table_schema != 'information_schema' and table_s 阅读全文