Skip to main content

search-file - A python module that searches files(or folders).

Project description

一个用于搜索文件或文件夹的Python模块。 Home-page: UNKNOWN Author: 七分诚意 qq:3076711200 邮箱 百度账号:徐丹34 Author-email: License: 七分诚意 Keywords: path,search,file Platform: UNKNOWN Classifier: Programming Language :: Python Classifier: Topic :: System :: Filesystems Classifier: Natural Language :: Chinese (Simplified) Description: search-file - A python module that searches files(or folders). 一个用于搜索文件或文件夹的Python模块。

  • 一个生成器, 列出path下的所有子目录和文件名。
>>> from search_file import directories
>>> list(directories("C:"))
['C:\Users',  #第一层目录
'C:\\\\Users\\\\Administrator', #第二层目录

dirs: 是否列出目录 files: 是否列出文件

  • 一个生成器,在path中搜索一个文件或文件夹。
>>> from search_file import search
>>> list(search("cmd.exe","C:"))
版本 VERSION:1.2.2

作者:七分诚意 qq:3076711200 邮箱

Project details

Download files

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

Files for search-file, version 1.2.2
Filename, size File type Python version Upload date Hashes
Filename, size search-file-1.2.2.tar.gz (2.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page