0

I was looking for how to echo commands to the console as a Python script is executing. Google pointed me to the trace module, but what I found online shows that it must be specified when invoking python. However, I'm using Spyder, and the console already shows an IPython prompt, so I never explicitly invoke python.

Is there a way to use the trace module when invoking a Python script from the Spyder console? I run the script using runfile.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.