Skip to content
an blog
Search
K
Main Navigation
深度学习
框架
架构
面试
自动化测试
其他
Appearance
Menu
Return to top
On this page
编码规范
命名规则(包、文件、类、变量、方法、函数)
驼峰命名:myFirstDemo
下划线命名:my_first_demo
不能用关键字命名:assert、send
python编程通过回车来表示当前代码结束,也支持多行编写模式,如果要实现多行编写这需要通过“\”来实现内容的拼接
python通过缩进来控制层级关系
注释:
单行注释:#
多行注释:''' '''