python 第一天基础day1.1

1、设置编码: 默认情况下,python源码文件以utf-8编码,所有字符串都是Unicode字符串 2、设置代码作者信息 设置路径:file—setting—editor—file and code templates,然后点击python script 设置好之后每次新建一个python文件都会自动带有这些editor信息 3、注释单行 • Python中单⾏注释以 # 开头,实例如下: #-
相关文章
相关标签/搜索