Using MRJob library, the output of reducer is printed in the console and stdout is the default output. How can I specify a file for output so instead of being printed, results will be written in that file.
EDIT: There is another question asking for csv output format, but my question is simpler and is just to write the output as it is in a file instead of printing it which I think should be simple and do not require using any axillary package!