- 博客(5)
- 收藏
- 关注
转载 简单的并发生产者消费者模型 python
from Queue import Queueimport random, threading, timeclass Producer(threading.Thread): def __init__(self, name, queue): threading.Thread.__init__(self, name=name) ...
2019-02-18 20:58:00 81
转载 python dict的hash实现原理及细节
pass转载于:https://www.cnblogs.com/zhang-xiaoyu/p/9296220.html
2018-07-11 19:01:00 411
转载 shell脚本传可选参数 getopts 和 getopt的方法
写了一个shell脚本,需要向shell脚本中传参数供脚本使用,达到的效果是传的参数可以是可选参数下面是一个常规化的shell脚本: echo "执行的文件名为: $0"; echo "第一个参数名为: $1"; echo "第二个参数名为: $2"正常的向shell脚本中传参数的方法为: ...
2018-07-11 19:00:00 164
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人