If you use the Python API to import the module then the init function will only be called once, no matter how many times it is imported. You were calling the init function explicitly.

        We prefer to link our module statically, rather than
        as a .pyd, that's why we rely on the explicit init.
        We would prefer to leave things this way, but
        we'll do some experiments to avoid the explicit
        initialisation.

Nigel

_______________________________________________
PyKDE mailing list    [email protected]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to