<?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 绿豆沙の小窝</title><link>https://lvdousha26.github.io/tags/python/</link><description>Recent content from 绿豆沙の小窝</description><generator>Hugo</generator><language>zh-CN</language><managingEditor>xxx@example.com (lvdousha)</managingEditor><webMaster>xxx@example.com (lvdousha)</webMaster><copyright>本博客所有文章除特别声明外，均采用 BY-NC-SA 许可协议。转载请注明出处！</copyright><lastBuildDate>Wed, 20 May 2026 00:00:00 +0800</lastBuildDate><atom:link href="https://lvdousha26.github.io/tags/python/index.xml" rel="self" type="application/rss+xml"/><item><title>AutoDL 14 天自动续命脚本</title><link>https://lvdousha26.github.io/post/autodl-tutorial/</link><pubDate>Wed, 20 May 2026 00:00:00 +0800</pubDate><author>xxx@example.com (lvdousha)</author><guid>https://lvdousha26.github.io/post/autodl-tutorial/</guid><description>
<![CDATA[<h1>AutoDL 14 天自动续命脚本</h1><p>作者：lvdousha（xxx@example.com）</p>
        
          <p>AutoDL 免费实例<strong>14 天自动释放</strong>，到期直接删实例，系统盘数据全没。最省心的方法：写个脚本，每 13 天用 API 重建一次实例，重置倒计时。</p>
        
        <hr><p>本文2026-05-20首发于<a href='https://lvdousha26.github.io/'>绿豆沙の小窝</a>，最后修改于2026-05-20</p>]]></description><category>教程</category></item><item><title>uv 入门</title><link>https://lvdousha26.github.io/post/uv-tutorial/</link><pubDate>Tue, 19 May 2026 00:00:00 +0800</pubDate><author>xxx@example.com (lvdousha)</author><guid>https://lvdousha26.github.io/post/uv-tutorial/</guid><description>
<![CDATA[<h1>uv 入门</h1><p>作者：lvdousha（xxx@example.com）</p>
        
          <h2 id="什么是-uv">
<a class="header-anchor" href="#%e4%bb%80%e4%b9%88%e6%98%af-uv"></a>
什么是 uv
</h2><p><a href="https://github.com/astral-sh/uv">uv</a> 是 Astral（Ruff 的团队）用 Rust 写的 Python 包和项目管理器，一个工具替代 <code>pip</code>、<code>pip-tools</code>、<code>virtualenv</code>、<code>pyenv</code>。</p>
<p>核心卖点：<strong>快 10-100 倍</strong>。解析依赖和安装包几乎瞬间完成。</p>
        
        <hr><p>本文2026-05-19首发于<a href='https://lvdousha26.github.io/'>绿豆沙の小窝</a>，最后修改于2026-05-19</p>]]></description><category>教程</category></item><item><title>Conda 入门</title><link>https://lvdousha26.github.io/post/conda-tutorial/</link><pubDate>Tue, 19 May 2026 00:00:00 +0800</pubDate><author>xxx@example.com (lvdousha)</author><guid>https://lvdousha26.github.io/post/conda-tutorial/</guid><description>
<![CDATA[<h1>Conda 入门</h1><p>作者：lvdousha（xxx@example.com）</p>
        
          <h2 id="为什么要用-conda">
<a class="header-anchor" href="#%e4%b8%ba%e4%bb%80%e4%b9%88%e8%a6%81%e7%94%a8-conda"></a>
为什么要用 Conda
</h2><p>Python 项目最大的痛点：不同项目依赖不同版本的 Python 和库。全局安装必然冲突——A 项目要 pandas 1.x，B 项目要 pandas 2.x。</p>
<p>Conda 通过<strong>虚拟环境</strong>解决这个问题：每个项目有独立的 Python 版本和包集合，互不干扰。</p>
        
        <hr><p>本文2026-05-19首发于<a href='https://lvdousha26.github.io/'>绿豆沙の小窝</a>，最后修改于2026-05-19</p>]]></description><category>教程</category></item></channel></rss>