[Tutor] Re: How-to for writing modules

Andrei project5 at redrival.net
Fri Jul 9 21:22:16 CEST 2004


Rob Benton wrote on Fri, 09 Jul 2004 12:31:15 -0500:

> I'm trying to find some good documentation for writing modules.  I've 
> been looking at the C/API docs but I'd like to find a step-by-step guide 
<snip>

Any Python program is automatically a module as well. Just make sure that
no code is executed when you import it (unless you need it to be executed
to initilize or whatever). Or do you really really really need it to be in
C?


-- 
Yours,

Andrei

=====
Real contact info (decode with rot13):
cebwrpg5 at jnanqbb.ay. Fcnz-serr! Cyrnfr qb abg hfr va choyvp cbfgf. V ernq
gur yvfg, fb gurer'f ab arrq gb PP.



More information about the Tutor mailing list