Is there something similar to `set -v` of bash in python

Peng Yu pengyu.ut at gmail.com
Sat Sep 17 16:41:15 EDT 2016


>     python -m trace -t yourprogram.py

If I want to add some command in yourprogram.py to show the commands
used it instead of calling trace from the command line, can it be
done?

-- 
Regards,
Peng



More information about the Python-list mailing list