Python中进行中文注释

来源:互联网 发布:淘宝网u盘 编辑:程序博客网 时间:2024/05/18 13:46

在python中,需要进行中文注释的时候,需要在第一行或者第二行添加编码格式的语句:

#coding:utf-8

0 0