575 reputation
8
bio website
location
age 25
visits member for 9 months
seen yesterday
$ python
>>> import new
>>> funcstr = "def wat(): print \"wat\";return;"
>>> funcbin = compile(funcstr,'','exec')
>>> ns = {}
>>> exec funcbin in ns
>>> watfunction = new.function(ns["wat"].func_code,globals(),"wat")
>>> globals()["wat"]=watfunction
>>> wat()
wat

This user has not asked any questions

21 Votes Cast

all time   by type   month   week  
19 up 5 question 2 2
2 down 16 answer