supplying constants in an extension module

Torsten Mohr tmohr at s.netic.de
Mon Jan 17 15:46:17 EST 2005


Hi,

i write an extension module in C at the moment.

I want to define some constants (integer mainly,
but maybe also some strings).

How do i do that best within this extension module
in C?  Do i supply them as RO attributes?

What's the best way for it?


Thanks for hints,
Torsten.




More information about the Python-list mailing list