printf in python
hniksic at xemacs.org
Mon Jun 2 04:08:55 EDT 2008
gianluca <geonomica at gmail.com> writes:
> 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;
Finish the printed string with a newline, or call fflush(stdout). By
default stdout is line-buffered when connected to interactive displays.
More information about the Python-list