Prev: execute sqlite3 dot commands in python
Next: how to make a SimpleXMLRPCServer abort at CTRL-C under windows
From: Steven D'Aprano on 5 Feb 2010 17:48 On Fri, 05 Feb 2010 14:19:36 -0800, Phlip wrote: > Thy Pon: > > Has anyone figured out how to reflect a passed function, such as a > lambda, all the way back to its source? Use the dis module to disassemble the byte code to human readable form, then write some sort of decompiler to translate it back to Python. The second half is the difficult part... -- Steven |