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.1.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wordCounterByUstina-1.0.1-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wordCounterByUstina-1.0.1.tar.gz
  • Upload date:
  • Size: 2.0 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.4

File hashes

Hashes for wordCounterByUstina-1.0.1.tar.gz
Algorithm Hash digest
SHA256 5ce0f443c010b5909af357acf142d8c4b06793a204feec21975764133bb6d21c
MD5 9bb107cfa373765ca8c1da539fe4f067
BLAKE2b-256 bcdc4c8579c49ad2623cfe3923c97dfa02d58d83f46796d87629062d8491978f

See more details on using hashes here.

File details

Details for the file wordCounterByUstina-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: wordCounterByUstina-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • 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.4

File hashes

Hashes for wordCounterByUstina-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 17657fb87a8c24cc6e65996f509673030d0127dfff5afe9aab56d54eebffcf5b
MD5 e03883945887eb8de85140805f73d8e9
BLAKE2b-256 505a60082f8f9576ca103c40085e63c38b335346efe364a67ffc9baf9f5d55a6

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