首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Python > pathtool

pathtool

  • 资源大小:5.84 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签:

资 源 简 介

Pathtool creates an very efficient API to the filesystem paths. Usage is dirt simple. You only need to call the path function with a fullpath, an optional pattern, and an optional action callback. Pathtool: An efficient Python Path API Author: Noah Gift Version: $Revision: 0.1.1 $ Copyright: This document has been placed in the public domain. Summary You can find a practical example of how to use this API here: https://www.ibm.com/developerworks/aix/library/au-cli_plugins/ Pathtool is an efficient API to walking a filesystem, and it aims to be very simple, yet powerful. By calling path you can pass it a path to a filesystem, apply an optional unix style pattern filter, and an optional action callback function. This allow you to powerful things to a filesystem in one line of code. You search a directory There is a record dictionary that contains useful key/value combinations such as a unique_id
VIP VIP
0.172829s