Noddy with submodules?

Torsten Mohr tmohr at
Mon Sep 7 23:55:11 CEST 2009


i want to write a Python module that interfaces a DLL that we use in the 
office to do some measurement.

So i'd like to write a python module in C (which i did before some times).

But i'm not sure how i can create a module in a way that i can later do:

import measurement
import measurement.adc
import measurement.adc.channels
import measurement.pwm

What do i need to do to create submodules within the initialisation code
of a python module written in C?

Maybe there is an example based on "noddy"?

Thanks for any hints,

More information about the Python-list mailing list