<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>王柠檬的自习室</title><description>记录代码里的思考、科研中的探索，和一路走来的成长。</description><link>https://personal-site-cbx.pages.dev/</link><language>zh-cn</language><item><title>Python 类与对象：把数据和行为放在一起</title><link>https://personal-site-cbx.pages.dev/posts/python-classes/</link><guid isPermaLink="true">https://personal-site-cbx.pages.dev/posts/python-classes/</guid><description>类定义对象的结构，self 表示当前实例。不同实例可以保存不同的数据。</description><pubDate>Fri, 02 Oct 2026 00:00:00 GMT</pubDate></item><item><title>Python 列表推导式：生成新的列表</title><link>https://personal-site-cbx.pages.dev/posts/python-comprehensions/</link><guid isPermaLink="true">https://personal-site-cbx.pages.dev/posts/python-comprehensions/</guid><description>列表推导式可以在遍历时转换元素，也可以用条件过滤。</description><pubDate>Fri, 02 Oct 2026 00:00:00 GMT</pubDate></item><item><title>Python 字典：通过名称查找数据</title><link>https://personal-site-cbx.pages.dev/posts/python-dictionaries/</link><guid isPermaLink="true">https://personal-site-cbx.pages.dev/posts/python-dictionaries/</guid><description>字典用键关联值，get() 可以为不存在的键提供默认值。</description><pubDate>Fri, 02 Oct 2026 00:00:00 GMT</pubDate></item><item><title>Python 异常处理：应对不符合预期的输入</title><link>https://personal-site-cbx.pages.dev/posts/python-exceptions/</link><guid isPermaLink="true">https://personal-site-cbx.pages.dev/posts/python-exceptions/</guid><description>捕获明确的异常类型，可以为可预期的失败提供处理方式。</description><pubDate>Fri, 02 Oct 2026 00:00:00 GMT</pubDate></item><item><title>Python 文件读写：保存程序的结果</title><link>https://personal-site-cbx.pages.dev/posts/python-files/</link><guid isPermaLink="true">https://personal-site-cbx.pages.dev/posts/python-files/</guid><description>with 会在代码块结束时关闭文件。下面会在当前目录新建或覆盖 python-demo.txt，请在练习目录运行。</description><pubDate>Fri, 02 Oct 2026 00:00:00 GMT</pubDate></item><item><title>Python 函数：给一段步骤起名字</title><link>https://personal-site-cbx.pages.dev/posts/python-functions/</link><guid isPermaLink="true">https://personal-site-cbx.pages.dev/posts/python-functions/</guid><description>def 定义函数，return 把计算结果交给调用者。</description><pubDate>Fri, 02 Oct 2026 00:00:00 GMT</pubDate></item><item><title>Python JSON：交换结构化数据</title><link>https://personal-site-cbx.pages.dev/posts/python-json/</link><guid isPermaLink="true">https://personal-site-cbx.pages.dev/posts/python-json/</guid><description>json.dumps() 把数据转为 JSON 文本，json.loads() 将文本解析回 Python 数据。</description><pubDate>Fri, 02 Oct 2026 00:00:00 GMT</pubDate></item><item><title>Python 列表：保存一组数据</title><link>https://personal-site-cbx.pages.dev/posts/python-lists/</link><guid isPermaLink="true">https://personal-site-cbx.pages.dev/posts/python-lists/</guid><description>列表可以保存多个元素，用 append() 添加元素，用下标读取元素。</description><pubDate>Fri, 02 Oct 2026 00:00:00 GMT</pubDate></item><item><title>Python 循环：重复完成一件事</title><link>https://personal-site-cbx.pages.dev/posts/python-loops/</link><guid isPermaLink="true">https://personal-site-cbx.pages.dev/posts/python-loops/</guid><description>for 会依次取出可迭代对象中的元素，range(3) 产生 0、1、2。</description><pubDate>Fri, 02 Oct 2026 00:00:00 GMT</pubDate></item><item><title>Python 模块：使用整理好的工具</title><link>https://personal-site-cbx.pages.dev/posts/python-modules/</link><guid isPermaLink="true">https://personal-site-cbx.pages.dev/posts/python-modules/</guid><description>import 导入模块后，可以通过模块名称调用其中的函数。</description><pubDate>Fri, 02 Oct 2026 00:00:00 GMT</pubDate></item><item><title>Python 参数：让函数适应不同输入</title><link>https://personal-site-cbx.pages.dev/posts/python-parameters/</link><guid isPermaLink="true">https://personal-site-cbx.pages.dev/posts/python-parameters/</guid><description>参数可以提供默认值；调用时也可以通过参数名称明确指定输入。</description><pubDate>Fri, 02 Oct 2026 00:00:00 GMT</pubDate></item><item><title>Python 路径：找到需要的文件</title><link>https://personal-site-cbx.pages.dev/posts/python-paths/</link><guid isPermaLink="true">https://personal-site-cbx.pages.dev/posts/python-paths/</guid><description>pathlib 用 Path 表达路径，组合路径时不必手动拼接分隔符。</description><pubDate>Fri, 02 Oct 2026 00:00:00 GMT</pubDate></item><item><title>Python 综合练习：整理一份学习清单</title><link>https://personal-site-cbx.pages.dev/posts/python-review/</link><guid isPermaLink="true">https://personal-site-cbx.pages.dev/posts/python-review/</guid><description>把列表、字典和循环组合起来，可以筛选已经完成的学习任务。</description><pubDate>Fri, 02 Oct 2026 00:00:00 GMT</pubDate></item><item><title>Python 集合：去重与比较</title><link>https://personal-site-cbx.pages.dev/posts/python-sets/</link><guid isPermaLink="true">https://personal-site-cbx.pages.dev/posts/python-sets/</guid><description>集合不保存重复元素，也不保证按插入顺序遍历；展示时可以先排序。</description><pubDate>Fri, 02 Oct 2026 00:00:00 GMT</pubDate></item><item><title>Python 排序：按规则整理数据</title><link>https://personal-site-cbx.pages.dev/posts/python-sorting/</link><guid isPermaLink="true">https://personal-site-cbx.pages.dev/posts/python-sorting/</guid><description>sorted() 返回一个新的排序列表，key 指定用来比较的值。</description><pubDate>Fri, 02 Oct 2026 00:00:00 GMT</pubDate></item><item><title>Python 字符串：整理一段文字</title><link>https://personal-site-cbx.pages.dev/posts/python-strings/</link><guid isPermaLink="true">https://personal-site-cbx.pages.dev/posts/python-strings/</guid><description>strip() 去除两端空白，字符串方法会返回新的字符串。</description><pubDate>Fri, 02 Oct 2026 00:00:00 GMT</pubDate></item><item><title>Python 元组：记录固定的组合</title><link>https://personal-site-cbx.pages.dev/posts/python-tuples/</link><guid isPermaLink="true">https://personal-site-cbx.pages.dev/posts/python-tuples/</guid><description>元组的元素不能直接重新赋值，适合表达坐标等固定组合。</description><pubDate>Fri, 02 Oct 2026 00:00:00 GMT</pubDate></item><item><title>关于我自己</title><link>https://personal-site-cbx.pages.dev/posts/about-me/</link><guid isPermaLink="true">https://personal-site-cbx.pages.dev/posts/about-me/</guid><description>你好，我是王柠檬。这里记录我的学习，也收藏生活里的小小发现。</description><pubDate>Thu, 01 Oct 2026 00:00:00 GMT</pubDate></item><item><title>关于本站</title><link>https://personal-site-cbx.pages.dev/posts/about-site/</link><guid isPermaLink="true">https://personal-site-cbx.pages.dev/posts/about-site/</guid><description>关于王柠檬的自习室：为什么记录，以及想在这里留下什么。</description><pubDate>Thu, 01 Oct 2026 00:00:00 GMT</pubDate></item><item><title>Python 条件判断：让程序选择下一步</title><link>https://personal-site-cbx.pages.dev/posts/python-conditions/</link><guid isPermaLink="true">https://personal-site-cbx.pages.dev/posts/python-conditions/</guid><description>用 if、elif 和 else 表达不同条件下的行为。</description><pubDate>Sat, 26 Sep 2026 00:00:00 GMT</pubDate></item><item><title>Python 环境管理：先弄清楚代码在哪里运行</title><link>https://personal-site-cbx.pages.dev/posts/python-environments/</link><guid isPermaLink="true">https://personal-site-cbx.pages.dev/posts/python-environments/</guid><description>遇到“明明安装了却找不到包”，先检查解释器，再讨论依赖。一个最小的排查笔记。</description><pubDate>Sat, 26 Sep 2026 00:00:00 GMT</pubDate></item><item><title>Python 变量：给数据起一个名字</title><link>https://personal-site-cbx.pages.dev/posts/python-variables/</link><guid isPermaLink="true">https://personal-site-cbx.pages.dev/posts/python-variables/</guid><description>从赋值和类型开始，认识 Python 中的变量。</description><pubDate>Sat, 26 Sep 2026 00:00:00 GMT</pubDate></item></channel></rss>