[Twisted-Python] Question about processes in python

Reza Lotun rlotun at gmail.com
Mon Apr 12 06:57:39 MDT 2010


> yes, I'd thought of that, but I can't get the function's code, I tried
> the inspect module but
> it only works of the code is written to disk; I'd rather not have to
> first write the code to disk just to be able to turn it into a string
> and feed it to python -c. Any ideas on how I could do this?

You don't have to write it to disk - you can use cStringIO.


-- 
Reza Lotun
mobile: +44 (0)7521 310 763
email:  rlotun at gmail.com
work:   reza at tweetdeck.com
twitter: @rlotun




More information about the Twisted-Python mailing list