printf in python

gianluca geonomica at gmail.com
Mon Jun 2 03:32:33 EDT 2008


Hy, I've a problem with may python library generated with swig from C
code. I works and I can access all function but a  simèple function
that print a string don't work's.
The function is like this:
int PrintTEST()
{
     printf("TEST ");
     return 1;
}

If I call the function (myDLL.PrintTEST() ) the function print only
the returned value, not the string "TEST". Could anybody help me?

Thanks

Gianluca



More information about the Python-list mailing list