python
文章平均质量分 74
2024世界依旧很大
这个作者很懒,什么都没留下…
展开
-
python学习笔记1——positional argument和keyword argument
positional argument即通过在参数列表中的相对位置确定传递给哪个形参,keyword argument通过name=value这样的形式,根据name确定传递给哪个形参。原创 2019-02-14 16:42:52 · 13430 阅读 · 0 评论 -
python学习笔记2——operators(未完)
(1)** 表示幂(2)* print("_ " *40)将打印连续四十个_ 字符原创 2019-02-14 16:59:39 · 177 阅读 · 0 评论 -
python学习笔记3——keywords(未完)
python关键字的简单介绍和使用方法原创 2019-02-15 10:04:49 · 725 阅读 · 1 评论 -
python学习笔记4——data types(未完)
definition mutable common operations example string list 在两个方括号间,以逗号隔开各个元素,其类型可相同,也可不同,与C语言中的数组类似 是 indexed sliced/ slice assignment concate...原创 2019-02-15 14:07:18 · 140 阅读 · 0 评论 -
python学习笔记5——built-in functions(未完)
function name usage parameters notice example open() 打开一个文件,并返回文件对象,如果打开失败,则抛出错误。 file, mode='r', buffering=-1, encoding=None, errors=None, newline=None, cl...原创 2019-03-06 10:10:39 · 246 阅读 · 0 评论