debug python like set -x

D

Dave

Hi,
Newbie here. Is there a way to have output from a python program go
to the screen the way it does if I use "set -x" in a shell script?

thanks in advance
 
J

Jp Calderone

Hi,
Newbie here. Is there a way to have output from a python program go
to the screen the way it does if I use "set -x" in a shell script?

Python2.3's trace.py (also in Tools/ in 2.2) has some interesting
functionality along these lines.

Jp

--
"Minerals are inexhaustible and will never be depleted. A stream of
investment creates additions to proved reserves, a very large in-ground
inventory, constantly renewed as it is extracted... How much was in the
ground at the start and how much will be left at the end are unknown and
irrelevant." -- Morry Adelman, World Renowned Economist
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,576
Members
45,054
Latest member
LucyCarper

Latest Threads

Top