摘要: python离线创建虚拟环境 /usr/local/python3/bin/virtualenv env --no-setuptools --no-pip --no-wheel source env/bin/activate unzip setuptools-50.3.0.zip cd setupt 阅读全文
posted @ 2020-09-14 14:34 MartinV 阅读(427) 评论(0) 推荐(0) 编辑
摘要: def num(): for i in range(1,4): print(i,"发送出去") try: a = yield i print(a,"接受外部参数") except Exception: print("接收错误并处理") i = num() nu = next(i) print(nu, 阅读全文
posted @ 2020-09-14 10:18 MartinV 阅读(108) 评论(0) 推荐(0) 编辑