passing arguments to a code object?

Michael Hudson mwh21 at
Tue Nov 14 00:06:50 CET 2000

Gregory Trubetskoy <grisha at> writes:

> [I know this is a really archane question]
> If all I have is a code object that represents a function, is there a way
> to call it and pass it arguments?

Have you checked out new.function?

I think that should do what you want.


  Sufficiently advanced political correctness is indistinguishable
  from irony.                                           -- Erik Naggum

More information about the Python-list mailing list