Skip to main content

Search for the number of words in a directory

Project description

Manual

How to use?

from wordCounter.count import count_words

print(count_words('path_to_folder', 'word')) # Function return int (number of words)

Recommendation

Use function join from os.path to work correctly with paths on different operating systems.

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

wordCounterByUstina-1.0.0.tar.gz (2.7 kB view details)

Uploaded Source

File details

Details for the file wordCounterByUstina-1.0.0.tar.gz.

File metadata

  • Download URL: wordCounterByUstina-1.0.0.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5

File hashes

Hashes for wordCounterByUstina-1.0.0.tar.gz
Algorithm Hash digest
SHA256 0c82a7ddbbb03f5ee1bfd2644bab7737d34bc18a29b34586de39316bf4f29867
MD5 f816bed69d5ee2c7686d950d9dddd49d
BLAKE2b-256 abe3d422fe7ae0e7073810c201f24b73405e1140d272446acafd86fcc91ac271

See more details on using hashes here.

Supported by

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