工具-推荐工具

工具-推荐工具

Pipenv开发工作流

https://github.com/pypa/pipenv

https://blog.csdn.net/dev_csdn/article/details/79060720

better-exceptions 异常显示优化

Python自动提供更好的异常处理显示
better-exceptions
效果如图所示
在这里插入图片描述
工具使用

# 安装
pip install better_exceptions
# 配置环境变量
export BETTER_EXCEPTIONS=1  # Linux / OSX
setx BETTER_EXCEPTIONS 1    # Windows
# 高级用法 显示详细信息,生产环境中需要去除
import better_exceptions
better_exceptions.MAX_LENGTH = None 
原文地址:https://www.cnblogs.com/superscfan/p/12257009.html