PYTHONVERBOSE

P

Paul Grasso

I want to trace an import statement, but only one so I set


import os
os.environ["PYTHONVERBOSE"] = "1"
import wx
del os.environ["PYTHONVERBOSE"]

but the import wx was NOT traced. Neither was it traced if I use os.putenv.
Does anyone know how to set python for import tracing within a script?
 

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

No members online now.

Forum statistics

Threads
474,262
Messages
2,571,310
Members
47,976
Latest member
SheriBolli

Latest Threads

Top