What would be the best way, if any, to obtain
the bytecode for a given loaded module?
I can get the source:
import inspect
import os
src = inspect.getsour ce(os)
but there is no ispect.getbytec ode() ;-)
--Irmen
the bytecode for a given loaded module?
I can get the source:
import inspect
import os
src = inspect.getsour ce(os)
but there is no ispect.getbytec ode() ;-)
--Irmen
Comment