News for hackers. Stuff that matters.
Re:I don't like Python. Does that make me a bad person? by japherwocky on Saturday June 26, 2010 @09:21PM (#1464660)
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)

There are no comments on this comment yet.