python
u010035887
这个作者很懒,什么都没留下…
展开
-
mac Couldn‘t load OpenSSL lib解决
xlog原创 2022-08-09 13:14:38 · 1322 阅读 · 1 评论 -
linux下的getopt以及在python中的使用
一、linux下的含义二、python下的使用原创 2020-09-01 18:24:50 · 184 阅读 · 0 评论 -
python处理字符串常用方法
一、查找下标 查找find 找到指定字符串出现第一个位置,第一个字符的下标,找不到返回-1 假设字符串string string.find(sub) 从下标1开始找 string.find(sub,1) 二、替换 假设字符串string string.replace(‘string1’, ‘string2’)def delete_shuangyin(all_the_text)...原创 2018-08-10 17:00:51 · 157 阅读 · 0 评论 -
python打印函数调用关系图
linux ret hat x86_64 yum install graphviz原创 2018-08-10 21:15:54 · 3738 阅读 · 0 评论 -
python 多进程队列
1、线程池pool2、队列锁pool = multiprocessing.Pool(g_maxprocess) # 并发进程数量m = multiprocessing.Manager()p_lock = m.Lock() # lock 保证dict_global写不会覆盖q_res = m.Queue()pool.apply_async(deal_one...原创 2021-08-13 14:42:50 · 791 阅读 · 0 评论