© 1999-2048 dssz.net 粤ICP备11031372号
[其它] 分析并输出Python代码依赖的库的实现代码
说明:用法: 分析一个脚本的依赖: analysis_dependency.py scr ipt1.py 递归分析依赖: analysis_dependency.py scr ipt1.py -r #!/usr/bin/env python # encoding: utf-8 # source: https://github.com/MrLYC/ycyc/blob/dev/tools/analysis_dependency.py import ast import importlib import<weixin_38664989> 上传 | 大小:17kb