Debugging with SciTE

jim.eggleston at gmail.com jim.eggleston at gmail.com
Sat Oct 29 15:05:20 CEST 2005


Based on information from  Jarek Zgoda in another thread on the Windows
USERPROFILE environment variable, debug.py should be:
import sys
from pdb import pm, set_trace
from inspect import getmembers
if sys.platform == 'win32':
    import os
    os.environ['HOME'] = os.environ['USERPROFILE']
del sys.argv[0]
execfile(sys.argv[0])




More information about the Python-list mailing list