随笔分类 - python
摘要:poetry的安装与使用 相关网址 官网:https://python-poetry.org/ github: https://github.com/python-poetry/poetry 参考blog:https://blog.kyomind.tw/python-poetry/ 介绍 官网自我介
阅读全文
摘要:python 3.7.4安装celery后执行celery --version报错 安装命令: pip install celery -i https://pypi.douban.com/simple 执行celery --version报错 AttributeError: 'EntryPoints
阅读全文
摘要:from functools import wraps import time # def retry(retry_time, retry_on_result, time_wait): # def test(func): # @wraps(func) # def wrapper(*args, **k
阅读全文
摘要:启动脚本 start.sh #!/bin/bash nohup <command> > /dev/null 2>&1 & echo $! > command.ppid 停止脚本 #!/bin/bash ppid=`cat command.ppid` ps -o pid --ppid $ppid --
阅读全文
摘要:在requirements中添加 Werkzeug==2.0.0jinja2==3.0.3itsdangerous==2.0.1 重新安装即可
阅读全文
摘要:import errno, os, sys ERROR_INVALID_NAME = 123 def is_pathname_valid(pathname: str) -> bool: ''' `True` if the passed pathname is a valid pathname for
阅读全文
摘要:1. 机器安装python环境 2. 下载安装vscode 3. 打开vscode,安装python插件 4. 安装remote-development、remote-ssh插件 5. 离线情况下安装插件:https://marketplace.visualstudio.com/search?tar
阅读全文
浙公网安备 33010602011771号