findpy-0.1
توضیحات
Find folders and files, find string in files, txt, etc..
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | findpy-0.1 |
| نام | findpy |
| نسخه کتابخانه | 0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Maycon Felipe |
| ایمیل نویسنده | maycon_felipegato@hotmail.com |
| آدرس صفحه اصلی | https://github.com/MayconFelipeA/findpy |
| آدرس اینترنتی | https://pypi.org/project/findpy/ |
| مجوز | - |
# 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.
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl findpy-0.1:
pip install findpy-0.1.whl
نصب پکیج tar.gz findpy-0.1:
pip install findpy-0.1.tar.gz