---
title: "Comment by Christian Ledermann on \"Finding the Frequency of a Word in a Text File with Python\" | Hashnode"
description: "Why not use collections.Counter for this?"
url: "https://hashnode.com/posts/finding-the-frequency-of-a-word-in-a-text-file-with-python/63bbc3cebbed79c932a7fba3/comment/63bbf33d1c761bd0a3d3943e"
---

[Discussion](https://hashnode.com/posts/finding-the-frequency-of-a-word-in-a-text-file-with-python/63bbc3cebbed79c932a7fba3)

Comment [Finding the Frequency of a Word in a Text File with Python](https://hashnode.com/posts/finding-the-frequency-of-a-word-in-a-text-file-with-python/63bbc3cebbed79c932a7fba3)

[Christian Ledermann](https://hashnode.com/@cleder)

[Jan 9, 2023](https://hashnode.com/posts/finding-the-frequency-of-a-word-in-a-text-file-with-python/63bbc3cebbed79c932a7fba3/comment/63bbf33d1c761bd0a3d3943e)

Why not use `collections.Counter` for this?
