命令行工具,用于解析python文件,将类和方法枚举为树结构。
pytl的Python项目详细描述
Pytl
====
[![0.2.4](https://img.shields.io/badge/pypi-0.2.4-brightgreen.svg)(https://pypi.python.org/pypi/pytl/)
[![麻省理工学院许可证](http://img.shields.io/badge/license-mit-blue.svg?(https://github.com/ryo ma/pytl/blob/master/master/license)
《概览
>命令行工具,解析python文件,将类和方法枚举为树结构。
``bash
$pytl test.py
2:类类类测试
2:类类测试
3:类测试:类测试
3:定义。u_(自我)
6:u def walk(自我,距离)
9:| def-stop(self)
>12:def method1()
>13:def method2()
>14:def method3()
>15:def method4()
>18:def main()
`` ` ` `
>仅显示def行
` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` `步行(自行,距离)
9:def stop(自行)
12:def method1()
13:|
14:def method3()
>15:def method4()
>18:def main()
`` ` ` `
` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` `$pip安装pytl##许可证
[mit](https://github.com/ryo ma/pytl/blob/master/license)
====
[![0.2.4](https://img.shields.io/badge/pypi-0.2.4-brightgreen.svg)(https://pypi.python.org/pypi/pytl/)
[![麻省理工学院许可证](http://img.shields.io/badge/license-mit-blue.svg?(https://github.com/ryo ma/pytl/blob/master/master/license)
《概览
>命令行工具,解析python文件,将类和方法枚举为树结构。
``bash
$pytl test.py
2:类类类测试
2:类类测试
3:类测试:类测试
3:定义。u_(自我)
6:u def walk(自我,距离)
9:| def-stop(self)
>12:def method1()
>13:def method2()
>14:def method3()
>15:def method4()
>18:def main()
`` ` ` `
>仅显示def行
` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` `步行(自行,距离)
9:def stop(自行)
12:def method1()
13:|
14:def method3()
>15:def method4()
>18:def main()
`` ` ` `
` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` `$pip安装pytl##许可证
[mit](https://github.com/ryo ma/pytl/blob/master/license)