<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Python on Ken Huang</title>
    <link>https://blog.kenhuang.io/zh-cn/tags/python/</link>
    <description>Recent content in Python on Ken Huang</description>
    <generator>Hugo</generator>
    <language>zh-cn</language>
    <managingEditor>kenhuang512@gmail.com (Ken Huang)</managingEditor>
    <webMaster>kenhuang512@gmail.com (Ken Huang)</webMaster>
    <lastBuildDate>Sun, 19 Apr 2026 12:44:14 +0800</lastBuildDate>
    <atom:link href="https://blog.kenhuang.io/zh-cn/tags/python/rss.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>在线用 Python 正则查找文本</title>
      <link>https://blog.kenhuang.io/zh-cn/blog/2021-07-12-python-re-chazhao/</link>
      <pubDate>Mon, 12 Jul 2021 23:34:11 +0800</pubDate><author>kenhuang512@gmail.com (Ken Huang)</author>
      <guid>https://blog.kenhuang.io/zh-cn/blog/2021-07-12-python-re-chazhao/</guid>
      <description>&lt;p&gt;&#xA;前段时间做了一个使用 Python 正则提取文本的工具服务： &lt;a href=&#34;https://texttoolkit.com/re.findall&#34;&gt;https://texttoolkit.com/re.findall&lt;/a&gt; ，用于解决日常一些繁琐的查找文本的需求。&lt;/p&gt;&#xA;&lt;figure&gt;&#xA;&lt;img src=&#34;https://blog.kenhuang.io/img/2021-07-11-re.findall.jpg&#34; alt=&#34;工具主界面&#34; title=&#34;单击以放大图片&#34;/&gt;&#xA;&lt;figcaption&gt;&#xA;工具主界面&#xA;&lt;/figcaption&gt;&#xA;&lt;/figure&gt;&#xA;&lt;div id=&#34;outline-container-headline-1&#34; class=&#34;outline-2&#34;&gt;&#xA;&lt;h2 id=&#34;headline-1&#34;&gt;&#xA;场景 1&#xA;&lt;/h2&gt;&#xA;&lt;div id=&#34;outline-text-headline-1&#34; class=&#34;outline-text-2&#34;&gt;&#xA;&lt;p&gt;&#xA;日常开发工作中你可能也需要像我一样，用各种内部管理系统，查看监控、日志、按机器 IP 过滤列表等等（我自嘲这是“面向浏览器开发”）。&lt;/p&gt;</description>
    </item>
    <item>
      <title>用 Python Requests “一键”重启天翼路由器</title>
      <link>https://blog.kenhuang.io/zh-cn/blog/2019-10-01-reboot-tianyi-router-using-python-requests/</link>
      <pubDate>Tue, 01 Oct 2019 22:28:00 +0800</pubDate><author>kenhuang512@gmail.com (Ken Huang)</author>
      <guid>https://blog.kenhuang.io/zh-cn/blog/2019-10-01-reboot-tianyi-router-using-python-requests/</guid>
      <description>&lt;p&gt;&#xA;不知道什么原因，我的网络有时候会很慢，而通过重启天翼路由器（版本 V1.0 ）大概率能够恢复。重启的次数多了之后会我觉得好麻烦，本着偷懒的原则，就想写一个脚本来自动重启，一劳永逸。&lt;/p&gt;</description>
    </item>
    <item>
      <title>在 Emacs 中使用 LSP 开发 C/C&#43;&#43; 工程</title>
      <link>https://blog.kenhuang.io/zh-cn/blog/2018-12-22-c-cpp-devel-with-lsp-in-emacs/</link>
      <pubDate>Sat, 22 Dec 2018 20:24:00 +0800</pubDate><author>kenhuang512@gmail.com (Ken Huang)</author>
      <guid>https://blog.kenhuang.io/zh-cn/blog/2018-12-22-c-cpp-devel-with-lsp-in-emacs/</guid>
      <description>&lt;p&gt;&#xA;写代码的时候，如果能够基于当前的上下文提示补全，不仅能提高写代码的效率，还能提升编程体验，有种行云流水的快感。&lt;/p&gt;&#xA;&lt;p&gt;&#xA;Emacs 中之前我用 &lt;a href=&#34;https://www.gnu.org/software/global/&#34;&gt;GNU Global (gtags)&lt;/a&gt; 等静态的工具来辅助写代码，最大的问题是无法根据上下文补全，体验不好。现在有了 LSP 协议之后， Emacs 中现在也能实现这个功能了，体验相当不错。&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
