585 reputation
19
bio website
location
age 25
visits member for 1 year, 4 months
seen Sep 30 at 20:41
$ 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
Stack Overflow 608 rep 515
Physical Fitness 585 rep 19
Arqade 278 rep 10
Super User 110 rep 5
Homebrewing 108 rep 4

21 Votes Cast

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