上一页 1 ··· 5 6 7 8 9 10 11 12 下一页
摘要: c++中面向对象的编程思想在python中可以很好的类比。 下面将介绍Python中类型创建、管理自定义类的相关内置函数。 函数作用域问题 在写程序的时候,我们会定义各种变量、全局变量、局部变量等,Python中查找变量的顺序遵循LEGB规则,即当遇到每个变量时,python解释器: 优先从它所属的 阅读全文
posted @ 2021-01-13 18:12 PiaYie 阅读(148) 评论(0) 推荐(0)
摘要: Python标准库 https://docs.python.org/zh-cn/3/library/ 关于官方文档的介绍函数的说明,像 即max的函数原型为: max(iterable,*[, key, default])max(arg1, arg2, *args[, key]) 啥意思? 注意了! 阅读全文
posted @ 2021-01-12 19:49 PiaYie 阅读(159) 评论(0) 推荐(0)
摘要: key 函数一般会与 lambda 匿名函数结合使用。要区分逻辑上合并字典,与普通的合并字典,有什么不一样 阅读全文
posted @ 2021-01-10 19:25 PiaYie 阅读(99) 评论(0) 推荐(0)
摘要: \documentclass{beamer} \setbeamertemplate{caption}[numbered] \setbeamertemplate{bibliography item}[text] \mode<presentation> { % The Beamer class come 阅读全文
posted @ 2021-01-09 14:13 PiaYie 阅读(623) 评论(0) 推荐(0)
摘要: 垂直间距 果我们想要人为地增加段落之间的垂直间距,可以在两个段落之间的位置使用 \vspace命令: A paragraph. \vspace{2ex} Another paragraph. \vspace 也可用\stretch 设置无限延伸的垂直长度。 在段落内的两行之间增加垂直间距,一般通过给 阅读全文
posted @ 2021-01-09 11:40 PiaYie 阅读(2344) 评论(0) 推荐(0)
摘要: 定义 表达1:真值表+值向量(有既定的顺序) 相关概念: 表达2:代数范式(ANF) bool函数的ANF存在且唯一。 阅读全文
posted @ 2021-01-09 10:26 PiaYie 阅读(401) 评论(0) 推荐(0)
摘要: 问题: def string2number(str): """Convert a string to a number Input: string(big-endian) Output: long or integer """ return int(str.encode('hex'),16) myp 阅读全文
posted @ 2020-10-22 20:09 PiaYie 阅读(975) 评论(0) 推荐(0)
摘要: set 和 dict 阅读全文
posted @ 2020-10-21 00:26 PiaYie 阅读(190) 评论(0) 推荐(0)
摘要: Mendeley的基本使用方法 阅读全文
posted @ 2020-10-07 15:09 PiaYie 阅读(1201) 评论(0) 推荐(0)
摘要: 切片操作、key 函数、zip 连接等 ,PyEcharts 绘图 阅读全文
posted @ 2020-09-29 10:45 PiaYie 阅读(220) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 12 下一页