Maybe it's a duplicate from this: Suppress calls to print (python), but the answer given isn't helping me, so I wondered if I'm dealing with something else.
I'm using the package savReaderWriter for Python to write data to an SPSS-file. This is going great, but when I'm writing a lot of records a method in the package starts printing lines to indicate the progress. While this may sound great at first, it's polluting my console because it's writing every 1% of progess on a new row.
You can find a snippet of the code that's called in package here: http://code.activestate.com/recipes/577811-python-reader-writer-for-spss-sav-files-linux-mac-/ and the method used is printPctProgress().
My code, that calls the package looks like this:
with savReaderWriter.SavWriter(savFileName, savFileHeader, savVarTypes) as writer:
writer.writerows(savFileData)
I would like to supress the printing done by method printPctProgress() from the package. Any ideas?