More powerful recursive dir. Support HTML pretty view in tree structure.
Project description
rdir function will ignore protected or private members which start with "_".
Args:
name: string type, full name invocation like "pyquery.PyQuery.eq" or module "pyquery"
limit_deep: int type, search deep limit, default is 2. -1 for unlimited.
print_mode:
TERM: it'll print out to your terminal with color;
FILE: it'll print out to a file without color;
TREE: it'll generate a single webpage with tree structure to show the module;
RETURN: it'll return an internal class RDirNode (not suggested).
output: The output file path. Only works in mode FILE, TREE.
Default: current directory: '{$name}.rdir'
Returns:
RETURN mode: Return a root node of RDirNode.
Others: nothing return.
=================
**0.40 Change Logs:**
1. User defined output path.
2. Tree pretty view in HTML supported!
3. Ignore the builtin types.
Args:
name: string type, full name invocation like "pyquery.PyQuery.eq" or module "pyquery"
limit_deep: int type, search deep limit, default is 2. -1 for unlimited.
print_mode:
TERM: it'll print out to your terminal with color;
FILE: it'll print out to a file without color;
TREE: it'll generate a single webpage with tree structure to show the module;
RETURN: it'll return an internal class RDirNode (not suggested).
output: The output file path. Only works in mode FILE, TREE.
Default: current directory: '{$name}.rdir'
Returns:
RETURN mode: Return a root node of RDirNode.
Others: nothing return.
=================
**0.40 Change Logs:**
1. User defined output path.
2. Tree pretty view in HTML supported!
3. Ignore the builtin types.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rdir-0.40.tar.gz
(2.0 kB
view hashes)