One-liner to analyze Python programs
The great benefit of knowing the command-line is being able to write scripts to analyze scripts, all in ~1 minute.
Add to your .bash_profile
.
# get list of objects and functions in a python file
alias python_structure="perl -ne'print if /\\b(?>!:)(class|def)\\s/'"
Read other posts