一、python单行注释符号(#)
python中单行注释采用 #开头
示例:#this is a comment
二、批量、多行注释符号
多行注释是用三引号”’ ”’包含的,例如:
三、python中文注释方法
今天写脚本的时候,运行报错:
SyntaxError: Non-ASCII character '\xe4' in file getoptTest.py on line 14, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
如果文件里有非ASCII字符,需要在第