commit-live-students / fsdse-python-assignment-46

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Write a Python program to count the frequency of words in a file.

Define a function that accepts two parameters:

  • A string that contains a file-path
  • A string that is to be searched in the file.

The function should return a Counter object that contains the words and frequency pairs. Check collections module.

About


Languages

Language:Python 100.0%