3 ms·
protip: the next time you need to quickly find the type of a variable, insert a trace like: import pdb;pdb.set_trace() then run the program, and you'll get an
by japherwocky 16y ago
protip: the next time you need to quickly find the type of a variable, insert a trace like:
import pdb;pdb.set_trace()
then run the program, and you'll get an interactive prompt and you can just look at everything in that state.
dir( myBuggyVariable)