<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>veazhi's bbs - python</title>
    <link>http://bbs.veazhi.com/forum-47-1.html</link>
    <description>Latest 20 threads of python</description>
    <copyright>Copyright(C) veazhi's bbs</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Sun, 05 Apr 2026 09:31:45 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>http://bbs.veazhi.com/static/image/common/logo_88_31.gif</url>
      <title>veazhi's bbs</title>
      <link>http://bbs.veazhi.com/</link>
    </image>
    <item>
      <title>ModuleNotFoundError: No module named \'lxml\'</title>
      <link>http://bbs.veazhi.com/thread-260-1-1.html</link>
      <description><![CDATA[在运行音乐爬虫脚本爬音乐的时候报：


执行了 uv add lxml 安装了 lxml 库还是报上述错误提示！

解决方法：

直接在命令行执行命令安装 python3-lxml ：]]></description>
      <category>python</category>
      <author>admin</author>
      <pubDate>Sun, 05 Oct 2025 01:36:00 +0000</pubDate>
    </item>
    <item>
      <title>while 循环九九乘法表</title>
      <link>http://bbs.veazhi.com/thread-236-1-1.html</link>
      <description><![CDATA[在 python 中使用 while 嵌套循环打印九九乘法表，如下：

执行的结果：]]></description>
      <category>python</category>
      <author>admin</author>
      <pubDate>Mon, 01 Sep 2025 13:15:49 +0000</pubDate>
    </item>
    <item>
      <title>使用 uv 创建虚拟环境</title>
      <link>http://bbs.veazhi.com/thread-235-1-1.html</link>
      <description><![CDATA[安装 uv

使用 uv 创建目录
使用 uv 创建虚拟环境
或者直接使用 uv venv：]]></description>
      <category>python</category>
      <author>admin</author>
      <pubDate>Mon, 01 Sep 2025 09:33:46 +0000</pubDate>
    </item>
    <item>
      <title>python 中的运算符及转义字符</title>
      <link>http://bbs.veazhi.com/thread-187-1-1.html</link>
      <description><![CDATA[算术运算符

在算术运算符之间只要有使用浮点数，结果就会用浮点数显示.

优先级：
- 先乘除，再加减;
- 同级运算符按从左到右的顺序执行;
- 可以使用 () 强制指定运算优先级;



赋值预算符


转义字符



 ...]]></description>
      <category>python</category>
      <author>admin</author>
      <pubDate>Thu, 21 Aug 2025 06:25:30 +0000</pubDate>
    </item>
    <item>
      <title>python 中的占位符（格式化输出）</title>
      <link>http://bbs.veazhi.com/thread-185-1-1.html</link>
      <description><![CDATA[占位符的第一种格式化输出方式：%

%s 字符串
%d 整数
代码输出如下：

%f 浮点型

代码输出如下：


占位符的第二种格式化输出方式：f

该方式最为推荐。如：



占位符的第三种格式化输出方式：format

这种方式的写法如下： ...]]></description>
      <category>python</category>
      <author>admin</author>
      <pubDate>Sun, 17 Aug 2025 08:53:12 +0000</pubDate>
    </item>
    <item>
      <title>查看 python 关键字</title>
      <link>http://bbs.veazhi.com/thread-184-1-1.html</link>
      <description><![CDATA[如题：查看 python 保留的关键字]]></description>
      <category>python</category>
      <author>admin</author>
      <pubDate>Sat, 16 Aug 2025 08:14:18 +0000</pubDate>
    </item>
    <item>
      <title>使用 python3-venv 创建虚拟环境</title>
      <link>http://bbs.veazhi.com/thread-180-1-1.html</link>
      <description><![CDATA[1.直接在命令行安装 python3-venv 包：
2.执行命令，在当前目录下创建虚拟环境：
3.激活虚拟环境：
退出虚拟环境：]]></description>
      <category>python</category>
      <author>admin</author>
      <pubDate>Fri, 15 Aug 2025 07:23:51 +0000</pubDate>
    </item>
  </channel>
</rss>