Skip to main content

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

Project description


Simple package in python.

How is?

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


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


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 hashes)

Uploaded Source

Built Distribution

findpy-0.1-py3-none-any.whl (3.2 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