python标准库 https://www.cnblogs.com/liuchaojiayou/p/4430530.html fcntl: lock锁 https://www.cnblogs.com/gide/p/6811927.html