<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Python on DevFlow · Python Django Developer Freelance</title>
    <link>https://dev-flow.io/en/categories/python/</link>
    <description>Recent content in Python on DevFlow · Python Django Developer Freelance</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Fri, 29 May 2026 00:00:00 +0200</lastBuildDate>
    <atom:link href="https://dev-flow.io/en/categories/python/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Python itertools: building lazy iterator pipelines</title>
      <link>https://dev-flow.io/en/posts/python-itertools/</link>
      <pubDate>Fri, 29 May 2026 00:00:00 +0200</pubDate>
      <guid>https://dev-flow.io/en/posts/python-itertools/</guid>
      <description>Python itertools by example: count, cycle, chain, groupby, accumulate, product, combinations. Lazy pipelines, common pitfalls, and real-world use cases.</description>
    </item>
    <item>
      <title>Python collections : Counter, defaultdict, deque and the rest</title>
      <link>https://dev-flow.io/en/posts/python-collections-module/</link>
      <pubDate>Fri, 22 May 2026 00:00:00 +0200</pubDate>
      <guid>https://dev-flow.io/en/posts/python-collections-module/</guid>
      <description>Python collections module: Counter, defaultdict, namedtuple, deque, OrderedDict, ChainMap with practical examples. When and why to replace dict and list.</description>
    </item>
    <item>
      <title>Python shutil: copy, move and archive files without subprocess</title>
      <link>https://dev-flow.io/en/posts/python-shutil-file-operations/</link>
      <pubDate>Thu, 21 May 2026 00:00:00 +0200</pubDate>
      <guid>https://dev-flow.io/en/posts/python-shutil-file-operations/</guid>
      <description>Python shutil: the standard library for copying, moving and archiving files. copy, move, copytree, rmtree, make_archive explained with concrete examples.</description>
    </item>
    <item>
      <title>Python operator: itemgetter, attrgetter and the art of replacing lambdas</title>
      <link>https://dev-flow.io/en/posts/python-operator-itemgetter-attrgetter/</link>
      <pubDate>Wed, 20 May 2026 00:00:00 +0200</pubDate>
      <guid>https://dev-flow.io/en/posts/python-operator-itemgetter-attrgetter/</guid>
      <description>Python&amp;#39;s operator library offers ready-made callables for sorting, reduction and attribute extraction. Faster and more readable than equivalent lambdas.</description>
    </item>
    <item>
      <title>Python dataclasses: field(default_factory) in depth</title>
      <link>https://dev-flow.io/en/posts/python-dataclass-field-default-factory/</link>
      <pubDate>Tue, 19 May 2026 00:00:00 +0200</pubDate>
      <guid>https://dev-flow.io/en/posts/python-dataclass-field-default-factory/</guid>
      <description>default_factory in Python dataclasses prevents the shared mutable default trap. Internal mechanism, sentinel pattern, and real-world use cases.</description>
    </item>
    <item>
      <title>Python __add__ and __iadd__: copy or in-place mutation</title>
      <link>https://dev-flow.io/en/posts/python-add-iadd/</link>
      <pubDate>Fri, 15 May 2026 00:00:00 +0200</pubDate>
      <guid>https://dev-flow.io/en/posts/python-add-iadd/</guid>
      <description>__add__ creates a new object while __iadd__ mutates in place. The difference matters for aliases and shared references: here are the concrete traps to avoid.</description>
    </item>
    <item>
      <title>Python @property: from encapsulation to descriptors</title>
      <link>https://dev-flow.io/en/posts/python-property-descriptors/</link>
      <pubDate>Tue, 12 May 2026 00:00:00 +0200</pubDate>
      <guid>https://dev-flow.io/en/posts/python-property-descriptors/</guid>
      <description>@property adds validation and computed attributes to Python without changing the interface. When logic repeats across classes, descriptors take over.</description>
    </item>
    <item>
      <title>Python __slots__: cut instance memory by 40–60% without changing your logic</title>
      <link>https://dev-flow.io/en/posts/python-slots-memory-optimization/</link>
      <pubDate>Wed, 06 May 2026 00:00:00 +0200</pubDate>
      <guid>https://dev-flow.io/en/posts/python-slots-memory-optimization/</guid>
      <description>Python __slots__ removes the per-instance __dict__ and cuts memory by 40–60%. Concrete measurements, inheritance pitfalls, and dataclass integration.</description>
    </item>
  </channel>
</rss>
