... | @@ -129,7 +129,10 @@ Google的最佳实践介绍 |
... | @@ -129,7 +129,10 @@ Google的最佳实践介绍 |
|
# Python风格
|
|
# Python风格
|
|
- [PEP8](https://www.python.org/dev/peps/pep-0008/)
|
|
- [PEP8](https://www.python.org/dev/peps/pep-0008/)
|
|
- [PEP8 中文版](https://www.cnblogs.com/bymo/p/9567140.html)
|
|
- [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)
|
|
- [Google Engineering Practices Documentation](https://github.com/google/eng-practices)
|
... | @@ -138,7 +141,8 @@ Google的最佳实践介绍 |
... | @@ -138,7 +141,8 @@ Google的最佳实践介绍 |
|
|
|
|
|
# 其他
|
|
# 其他
|
|
```shell
|
|
```shell
|
|
pyreverse --project Pyreverse $path --ignore test --output png # 工程结构图
|
|
pyreverse -ASmy --project Pyreverse $path --output png # 工程结构图
|
|
|
|
# PyCharm专业版?
|
|
|
|
|
|
cd $path
|
|
cd $path
|
|
python -m cProfile -o tmp.pstats tmp.py # 性能分析
|
|
python -m cProfile -o tmp.pstats tmp.py # 性能分析
|
... | | ... | |