随笔分类 - Python
摘要:#### 使用 ``` pip install xxx -i url ``` ``` 清华大学(完全度和速度都很好,是一个优秀的pip镜像源) https://pypi.tuna.tsinghua.edu.cn/simple 阿里云(完全度和速度也很好,是一个不错的选择) https://mirro
阅读全文
摘要:####方法1 ``` # 在celery task 中 加入 # from multiprocessing import current_process # current_process()._config={"semprefix":"/mp"} @app.task def create_tas
阅读全文
摘要:#### 目录结构 ``` /data/celery/ |-- __init__.py |-- __pycache__ |-- run_test.py |-- start.sh |-- sxj | |-- celery.py | |-- __init__.py | |-- __pycache__ |
阅读全文

浙公网安备 33010602011771号