<?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 bLueriVer</title><link>https://blueriverlhr.github.io/tags/python/</link><description>Recent content in Python on bLueriVer</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sun, 17 May 2026 20:54:00 +0800</lastBuildDate><atom:link href="https://blueriverlhr.github.io/tags/python/index.xml" rel="self" type="application/rss+xml"/><item><title>Python</title><link>https://blueriverlhr.github.io/posts/py/</link><pubDate>Sun, 17 May 2026 20:54:00 +0800</pubDate><guid>https://blueriverlhr.github.io/posts/py/</guid><description>&lt;h2 id="packages"&gt;Packages&lt;/h2&gt;
&lt;p&gt;For data types, package &lt;code&gt;dataclasses&lt;/code&gt; for simple demo and &lt;code&gt;attrs&lt;/code&gt; for complex projects.&lt;/p&gt;
&lt;p&gt;For network programming, package &lt;code&gt;requests&lt;/code&gt; for simple demo and &lt;code&gt;aiohttp&lt;/code&gt; for complex projects.&lt;/p&gt;
&lt;p&gt;For test, package &lt;code&gt;unittest&lt;/code&gt; for simple demo and &lt;code&gt;pytest&lt;/code&gt; for complex projects.&lt;/p&gt;
&lt;h2 id="late-binding-closures"&gt;Late Binding Closures&lt;/h2&gt;
&lt;p&gt;Reference: &lt;a href="https://docs.python-guide.org/writing/gotchas/#late-binding-closures"&gt;https://docs.python-guide.org/writing/gotchas/#late-binding-closures&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;lambda has no differece from using a def.&lt;/p&gt;</description></item></channel></rss>