随笔分类 - Python
摘要:module A module is basically a bunch of related code saved in a** file** with the extension** .py**. package A package is basically a directory of a c
阅读全文
摘要:Process Pools 1. apply (func[, args[, kwds]]) 只能执行1次(只能输入一次参数) 支持多个参数(参数统一为元祖类型) 阻塞(只能等待这行代码执行完,才会执行下面的代码) 返回结果为函数执行结果 2. apply_async (func[, args[, k
阅读全文
摘要:# refcount - (reference count), a mechanism used by the Python interpreter to manage the memory of objects. - When the reference count of an object re
阅读全文

浙公网安备 33010602011771号