python命名和起始部分

一、命名

1、字母、数字、下划线,必须以字母或者下划线开头

2、大小写敏感

 

二、开头,固定格式为以下三种:

# coding=utf-8

# coding:utf-8

# -*-coding:utf-8-*-

posted @ 2018-07-28 15:41  月燕如  阅读(128)  评论(0编辑  收藏  举报