07 2020 档案

摘要:原文链接:http://www.juzicode.com/archives/779 我们知道在Python中的注释可以用“#”后面带一段不跨行的字符串,像这样的: def func(): #这是一行注释,不能换行,与pass语句缩进一致 pass ... 阅读全文
posted @ 2020-07-04 23:11 桔子code 阅读(385) 评论(0) 推荐(0)
摘要:原文链接:http://www.juzicode.com/archives/741 我们在看Python源码的时候,经常看到py文件的前面2行出现这样的内容: #!/usr/bin/python# -*- coding: UTF-8 -*- 第2行的 ”-*-... 阅读全文
posted @ 2020-07-03 01:18 桔子code 阅读(85) 评论(0) 推荐(0)