[wingide-users] Conditionally importing modules when Wing is not
active/running
Tony Cappellini
cappy2112 at gmail.com
Mon Feb 25 12:54:46 MST 2008
Hello,
I would like to leave
try:
import wingdbstub:
except ImportError:
pass
in my project files, but also want to conditionally import psyco when
I'm not running Wing.
WINGDB_ACTIVE is always set in the environment, whenever wingdbstub is
imported, even if Wing is not running.
Is there another Wing environment variable I can use reliably to
detect when Wing is not really running?
More information about the wingide-users
mailing list