1 #默认安装的PyCharm,带一行__author__ = 'admin' 2 #如果py文件可执行,需要声明解释器,如果代码里有中文,需要声明编码类型 3 4 #!/usr/bin/env python3 5 # -*- coding:utf-8 -*- 6 __author__ = 'admin'