该文被密码保护。 阅读全文
posted @ 2024-02-03 17:11 LPF05 阅读(7) 评论(0) 推荐(0) 编辑
摘要: datawhale p2s 学习chapter_5与chapter_6 chapter_5:循环 for循环 for循环和循环范围 特点 基于提供的范围,重复执行特定次数的操作 range默认参数 range(a,b,c) a为起始值,b为终值+1,c为步长 a如果不写,默认为0 c不写默认为1 f 阅读全文
posted @ 2023-12-02 19:25 LPF05 阅读(14) 评论(0) 推荐(0) 编辑
摘要: datawhale p2s 学习chapter_4与选学01 chapter_4:条件 if语句 if语句 if x == 0: print(a) if-else 语句 if x == 0: print("B", end="") else: print("D", end="") abs转换示例 de 阅读全文
posted @ 2023-11-28 18:37 LPF05 阅读(7) 评论(0) 推荐(0) 编辑
摘要: datawhale p2s 学习chapter_2与chapter_3 chapter_2:数据类型和操作 常用内置类型 整数 int 离散 浮点数 float 双精度 布尔值 bool True or False 类型 type 即int float等类型 字符串 string 5~9为数组类型 阅读全文
posted @ 2023-11-25 23:23 LPF05 阅读(5) 评论(0) 推荐(0) 编辑
摘要: datawhale p2s 学习chapter_0与chapter_1 chapter_0:安装 conda 安装配置 修改powershell执行策略(仅win10+非家庭版本需要) 进入windows powershell后输入: Set-ExecutionPolicy -Scope Curre 阅读全文
posted @ 2023-11-21 20:25 LPF05 阅读(18) 评论(0) 推荐(0) 编辑
摘要: 基础知识 ~家目录 #超级用户 $普通用户 通配符 * 匹配任意内容(即含有该内容的任意内容) ? 匹配任意一个字符 [] 匹配任意一个中括号内的字符 切换超级用户 sudo -s 如遇到拒绝访问,即'permission denied'时 通常是用户权限不足,应进入su用户 e.g.向sysfs文 阅读全文
posted @ 2023-11-21 15:50 LPF05 阅读(44) 评论(0) 推荐(0) 编辑