Skip to main content

Find folders and files, find string in files, txt, etc..

Project description

Findpy

Simple package in python.

How is?

Search folders, and search folders in subfolders. Search string in files this type is .txt, or .cfg, etc...

Example

findFolder result = findFolder('C:\Users\[YourName]\Desktop', 'hello') #This code go searching your folder 'hello' in your desktop print(f'folder: {result['folder'][0]} time: {result['time'][0]}')

  • return {'folder': ['C:\Users\Maycon\Desktop\hello'], 'time': [0.0]} -> folder and time

  • parameters findFolder(folder, folderSearch)

    • folder = initial folder for searching
    • folderSearch = folder for search

findString result = findString('C:\Users\[YourName]\Desktop', 'hello, my name is maycon!', '.txt') print(result['folder'][0])

  • return ['C:\Users\Maycon\Desktop\hello'] -> folder

  • parameters findString(folder, string, tfile)

    • folder = inital folder for searching
    • string = string for search
    • tfile = type file for search

** GOOD USE ** This is my first package, suggestion contact me.

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distribution

findpy-0.1.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

findpy-0.1-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file findpy-0.1.tar.gz.

File metadata

  • Download URL: findpy-0.1.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.3

File hashes

Hashes for findpy-0.1.tar.gz
Algorithm Hash digest
SHA256 e2b29d8d1bd016a55a042ac0e2a51cb0140b9067e3add21e1829b477b0ed568a
MD5 886638d0221885d43f1f02c19880e361
BLAKE2b-256 457fcc9ba17622c7bb34e0bdf41fff3e18c57635af8b7ff848f6d9017366a05c

See more details on using hashes here.

File details

Details for the file findpy-0.1-py3-none-any.whl.

File metadata

  • Download URL: findpy-0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.3

File hashes

Hashes for findpy-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 05db9c27fe4f164124c71f2466df90d3bb4f16777d802e861588eba902dcfc8a
MD5 6d0881012b43a11d7256120613cd603a
BLAKE2b-256 1e0946a399d74e2c5880b64769171921d1a56731100501076f73b9e95fce835e

See more details on using hashes here.

Supported by

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