[Tutor] Re: How-to for writing modules

Rob Benton rob.benton at conwaycorp.net
Fri Jul 9 22:36:09 CEST 2004


Andrei wrote:

>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?
>
>
>  
>
I'm going to be working on an existing module that is written in C.  So 
any tutorials or guides would help a lot.


More information about the Tutor mailing list