... | ... | @@ -129,7 +129,10 @@ Google的最佳实践介绍 |
|
|
# Python风格
|
|
|
- [PEP8](https://www.python.org/dev/peps/pep-0008/)
|
|
|
- [PEP8 中文版](https://www.cnblogs.com/bymo/p/9567140.html)
|
|
|
|
|
|
- [Google Python Style Guide](https://google.github.io/styleguide/pyguide.html)
|
|
|
- 一些PEP
|
|
|
- Python官方文档中的Python常见问题
|
|
|
- typing
|
|
|
|
|
|
# 来源
|
|
|
- [Google Engineering Practices Documentation](https://github.com/google/eng-practices)
|
... | ... | @@ -138,7 +141,8 @@ Google的最佳实践介绍 |
|
|
|
|
|
# 其他
|
|
|
```shell
|
|
|
pyreverse --project Pyreverse $path --ignore test --output png # 工程结构图
|
|
|
pyreverse -ASmy --project Pyreverse $path --output png # 工程结构图
|
|
|
# PyCharm专业版?
|
|
|
|
|
|
cd $path
|
|
|
python -m cProfile -o tmp.pstats tmp.py # 性能分析
|
... | ... | @@ -169,4 +173,4 @@ gprof2dot -f pstats tmp.pstats | dot -T png -o tmp.png # 性能分析可视化 |
|
|
- 非正式的
|
|
|
- 基于工具的
|
|
|
- 异步
|
|
|
- 专注于变更代码 --> |
|
|
\ No newline at end of file |
|
|
- 专注于变更代码 --> |