随笔分类 -  Python

摘要:Python中不同类型的函数参数 阅读全文
posted @ 2025-04-22 19:47 Budcs 阅读(72) 评论(0) 推荐(0)
摘要:类方法、实例方法和静态方法的区别。 创建一个 Student 类,用于管理学生的信息和计算成绩相关的数据。 class Student: # 类属性,记录学生的总数 total_students = 0 def __init__(self, name, score): # 实例属性,学生的姓名 se 阅读全文
posted @ 2025-04-21 21:09 Budcs 阅读(45) 评论(0) 推荐(0)
摘要:conda、pip和linux常用命令 阅读全文
posted @ 2024-03-17 21:04 Budcs 阅读(25) 评论(0) 推荐(0)
摘要:NumPy基本操作,参考《Numerical Python: Scientific Computing and Data Science Applications with NumPy, SciPy and matploatlib》 ——Second Edition, Robert Johansson 阅读全文
posted @ 2021-07-29 12:48 Budcs 阅读(236) 评论(0) 推荐(0)