a simple question for writtting module

lud lud at sogetek.fr
Wed Sep 5 14:57:46 CEST 2001


Hi !!

my problem :

first i write in python :
        import mymodule
        data="is a test"
        mymodule.show()

###################
now in c :
static PyObject *
mymodule_show(PyObject * self, PyObject *args)
{
/*bla bla bla ....*/
}
so i want get the value of data without transmit her in the call of the
function show

any idea ?

thx, Ludo





More information about the Python-list mailing list