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

Peng Yu pengyu.ut at gmail.com
Fri Sep 16 22:31:37 EDT 2016


Hi, `set -v` in bash allows the print of the command before print the
output of the command.

I want to do the similar thing --- print a python command and then
print the output of the command. Is it possible with python?

-- 
Regards,
Peng



More information about the Python-list mailing list