Skip to main content

A command line tool that help to find specific words from a file in any selected file.

Project description

PTWordFinder

"What specific words would you like to read?" Counting words in "Pan Tadeusz" poem

Python version

Python 3.10.6

Why

It was started as a project to exercise python language. The code helped to find specific words in a selected file. It became command line tool that help find any word within any file. The files can be selected by command line

how to use

Usage: PTWordFinder.py WORDS_INPUT SEARCHED_FILE Try 'PTWordFinder.py --help' for help

you can installl this cmd tool from pip:

    pip install PTWordFinder

example: Python3 PanTadeuszWordFinder.py words.txt text-novel.txt

Features

  • poem lines counter
  • a specific word counter
  • tracking the script execution time

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PTWordFinder-1.0.7.tar.gz (4.7 kB view hashes)

Uploaded Source

Built Distribution

PTWordFinder-1.0.7-py3-none-any.whl (5.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page