[Pyrex] Adding code to the module init function

Phillip J. Eby pje at telecommunity.com
Tue May 24 21:12:47 CEST 2005


At 07:25 PM 5/24/2005 +0100, Adam Langley wrote:
>I'm sorry if this question has been asked before - a Google search of
>the archives didn't turn up anything.
>
>How do I add code to be run at module import time*?

Add it to the top level code of your module.




More information about the Pyrex mailing list