指甲蟒的实现
findtools的Python项目详细描述
findtools是一种pythonic实现的文件搜索例程,灵感来自于findtools中的gnu findutils。
``python
。find_文件导入(find_文件,match)
found-files=find_文件(path='/usr/bin,match=sh_文件库模式)
>found_文件库文件:
>print-found_文件
```
find/usr/bin-type f-name'*.sh'.sh'>
<;
安装通过使用pypi注册表,例如
<;blockquote>;
pip install findtools
<;blockquote>;
>或者,您可以克隆git repository
<;blockquote>;
git clone https://github.com/ewiger/findtools.git findtools&;cd findtools
sudo python setup.py install
<;/报价单>;
``python
。find_文件导入(find_文件,match)
found-files=find_文件(path='/usr/bin,match=sh_文件库模式)
>found_文件库文件:
>print-found_文件
```
find/usr/bin-type f-name'*.sh'.sh'>
<;
安装通过使用pypi注册表,例如
<;blockquote>;
pip install findtools
<;blockquote>;
>或者,您可以克隆git repository
<;blockquote>;
git clone https://github.com/ewiger/findtools.git findtools&;cd findtools
sudo python setup.py install
<;/报价单>;