[f2py] output

Benjamin Kutz <[email protected]> Fri, 06 Aug 2010 09:04:01 +0200
Newsgroups gmane.comp.python.f2py.user
Message-ID <[email protected]>
Good morning everyone,

I've wrapped a fortran code and call this code within python with the 
following command:

         variable = wrappedcode.wrappedsubroutine(variable)

This routine prints on the standart out. I want to pipe this output in a 
file.
How can I manage this?

Thank you and greetings.
Benjamin