<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title> - Python学习</title>
    <link>http://www.zhaoqianzhou.com/forum-54-1.html</link>
    <description>Latest 20 threads of Python学习</description>
    <copyright>Copyright(C) </copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Sun, 24 May 2026 07:22:51 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>http://www.zhaoqianzhou.com/static/image/common/logo_88_31.gif</url>
      <title></title>
      <link>http://www.zhaoqianzhou.com/</link>
    </image>
    <item>
      <title>拿时间字符串</title>
      <link>http://www.zhaoqianzhou.com/thread-583-1-1.html</link>
      <description><![CDATA[]]></description>
      <category>Python学习</category>
      <author>赵乾舟</author>
      <pubDate>Mon, 19 Jan 2026 08:03:18 +0000</pubDate>
    </item>
    <item>
      <title>判断文件名，只保留前50个字</title>
      <link>http://www.zhaoqianzhou.com/thread-580-1-1.html</link>
      <description><![CDATA[]]></description>
      <category>Python学习</category>
      <author>赵乾舟</author>
      <pubDate>Sat, 03 Jan 2026 05:56:24 +0000</pubDate>
    </item>
    <item>
      <title>删除、复制、移动文件操作</title>
      <link>http://www.zhaoqianzhou.com/thread-579-1-1.html</link>
      <description><![CDATA[删除文件，os.remove(文件名）
os.remove(path) 函数用于删除一个文件。如果文件不存在，会抛出 FileNotFoundError 异常。



删除文件夹，shutil.rmtree(目录）
os.rmdir(path) 函数用于删除一个空目录。如果目录不为空，会抛出 OSError 异常。
使用shutil.rmtree()实 ...]]></description>
      <category>Python学习</category>
      <author>赵乾舟</author>
      <pubDate>Wed, 31 Dec 2025 05:29:06 +0000</pubDate>
    </item>
    <item>
      <title>deepseek写的word转txt的代码</title>
      <link>http://www.zhaoqianzhou.com/thread-575-1-1.html</link>
      <description><![CDATA[需要安装两个库python-docx pywin32]]></description>
      <category>Python学习</category>
      <author>赵乾舟</author>
      <pubDate>Mon, 24 Mar 2025 07:59:46 +0000</pubDate>
    </item>
    <item>
      <title>python代码打包</title>
      <link>http://www.zhaoqianzhou.com/thread-573-1-1.html</link>
      <description><![CDATA[用pyinstaller打包程序
--name : 指定可执行文件名称。
--specpath: 指定spec文件的生成目录，默认为当前目录。
-F, --onefile: 将整个应用程序打包到单个可执行文件中。
-D, --onedir: 生成一个目录，包含多个文件。
--add-data 、 --add-binary： 在构建中插入额外的 ...]]></description>
      <category>Python学习</category>
      <author>赵乾舟</author>
      <pubDate>Tue, 11 Feb 2025 07:56:51 +0000</pubDate>
    </item>
    <item>
      <title>裁切代码</title>
      <link>http://www.zhaoqianzhou.com/thread-572-1-1.html</link>
      <description><![CDATA[先获取图片大小]]></description>
      <category>Python学习</category>
      <author>赵乾舟</author>
      <pubDate>Sat, 08 Feb 2025 02:54:41 +0000</pubDate>
    </item>
    <item>
      <title>发票合同20.</title>
      <link>http://www.zhaoqianzhou.com/thread-571-1-1.html</link>
      <description><![CDATA[]]></description>
      <category>Python学习</category>
      <author>赵乾舟</author>
      <pubDate>Mon, 25 Nov 2024 11:25:03 +0000</pubDate>
    </item>
    <item>
      <title>发票</title>
      <link>http://www.zhaoqianzhou.com/thread-570-1-1.html</link>
      <description><![CDATA[]]></description>
      <category>Python学习</category>
      <author>赵乾舟</author>
      <pubDate>Sun, 24 Nov 2024 13:11:39 +0000</pubDate>
    </item>
    <item>
      <title>批量剪辑电视剧，删除前70秒视频</title>
      <link>http://www.zhaoqianzhou.com/thread-561-1-1.html</link>
      <description><![CDATA[gpt直接写的代码，我的叙述如下：
我有几十个视频，每个视频时间长短不同，但是前面的60秒内容是没用的，我想批量剪辑视频，把每个视频的前60秒删除，然后生成新的视频，给我写一段python代码来实现这个功能。

然后gpt直接写出项目代码：




 ...]]></description>
      <category>Python学习</category>
      <author>赵乾舟</author>
      <pubDate>Tue, 20 Feb 2024 05:50:26 +0000</pubDate>
    </item>
    <item>
      <title>模拟键盘输入文字</title>
      <link>http://www.zhaoqianzhou.com/thread-559-1-1.html</link>
      <description><![CDATA[]]></description>
      <category>Python学习</category>
      <author>赵乾舟</author>
      <pubDate>Fri, 12 Jan 2024 12:19:16 +0000</pubDate>
    </item>
    <item>
      <title>PDF转图片的代码</title>
      <link>http://www.zhaoqianzhou.com/thread-504-1-1.html</link>
      <description><![CDATA[这里有个坑，就是需要安装pymupdf库，但是不能安装最新版本，目前亲测可用的版本是切换到1.18.17才可以顺利完成代码]]></description>
      <category>Python学习</category>
      <author>赵乾舟</author>
      <pubDate>Sun, 27 Nov 2022 08:48:10 +0000</pubDate>
    </item>
    <item>
      <title>python操作MySQL的一些知识点</title>
      <link>http://www.zhaoqianzhou.com/thread-491-1-1.html</link>
      <description><![CDATA[一、建立连接
如果能正常打印连接成功，就代表已经连接上数据库了，不然会报错，可以试着修改前几行的信息，如果有错，运行程序会报错。]]></description>
      <category>Python学习</category>
      <author>赵乾舟</author>
      <pubDate>Sun, 19 Jun 2022 08:38:40 +0000</pubDate>
    </item>
    <item>
      <title>读取文件名排序的问题，让01后面显示02而不是010</title>
      <link>http://www.zhaoqianzhou.com/thread-490-1-1.html</link>
      <description><![CDATA[右图效果是直接运行得到的序列，但是我们需要左图的排序效果，此处用一个排序函数，即可达到左图效果]]></description>
      <category>Python学习</category>
      <author>赵乾舟</author>
      <pubDate>Thu, 09 Jun 2022 12:26:57 +0000</pubDate>
    </item>
    <item>
      <title>png转pdf的代码</title>
      <link>http://www.zhaoqianzhou.com/thread-489-1-1.html</link>
      <description><![CDATA[其中第5行用了一个排序，因为默认排序的时候，01.png,后面是010.png，而不是02.png，所以用了一个sort排序]]></description>
      <category>Python学习</category>
      <author>赵乾舟</author>
      <pubDate>Thu, 09 Jun 2022 12:19:57 +0000</pubDate>
    </item>
    <item>
      <title>从视频中提取音频</title>
      <link>http://www.zhaoqianzhou.com/thread-486-1-1.html</link>
      <description><![CDATA[]]></description>
      <category>Python学习</category>
      <author>赵乾舟</author>
      <pubDate>Thu, 28 Apr 2022 02:56:58 +0000</pubDate>
    </item>
    <item>
      <title>笔顺图片的批量下载</title>
      <link>http://www.zhaoqianzhou.com/thread-479-1-1.html</link>
      <description><![CDATA[]]></description>
      <category>Python学习</category>
      <author>赵乾舟</author>
      <pubDate>Thu, 21 Apr 2022 06:22:11 +0000</pubDate>
    </item>
    <item>
      <title>抖音粉丝的PDF修改图片合集（包含PDF和png互相转换代码）</title>
      <link>http://www.zhaoqianzhou.com/thread-477-1-1.html</link>
      <description><![CDATA[第一步，把所有PDF文件转成png图片格式
运行后，输入大文件夹的路径即可，会循环遍历每个文件夹，然后将每个文件夹内的PDF文件，转换成png图片，并保存到对应名字的文件夹。]]></description>
      <category>Python学习</category>
      <author>赵乾舟</author>
      <pubDate>Thu, 24 Mar 2022 12:15:33 +0000</pubDate>
    </item>
    <item>
      <title>png图片批量转PDF</title>
      <link>http://www.zhaoqianzhou.com/thread-476-1-1.html</link>
      <description><![CDATA[]]></description>
      <category>Python学习</category>
      <author>赵乾舟</author>
      <pubDate>Wed, 23 Mar 2022 06:15:02 +0000</pubDate>
    </item>
    <item>
      <title>用Python将图片转化合并到pdf</title>
      <link>http://www.zhaoqianzhou.com/thread-475-1-1.html</link>
      <description><![CDATA[]]></description>
      <category>Python学习</category>
      <author>赵乾舟</author>
      <pubDate>Mon, 21 Mar 2022 11:20:59 +0000</pubDate>
    </item>
    <item>
      <title>python 修改图片特定区域的颜色</title>
      <link>http://www.zhaoqianzhou.com/thread-474-1-1.html</link>
      <description><![CDATA[for循环里输入像素即可]]></description>
      <category>Python学习</category>
      <author>赵乾舟</author>
      <pubDate>Mon, 21 Mar 2022 10:14:23 +0000</pubDate>
    </item>
  </channel>
</rss>