Simply run the python3 script.py > std_out.txt 2>std_err.txt
in Python 3.x
output
directory contains all the CSV filesscript.log
log file from python's logging modulestd_err.txt
,std_out.txt
any text which would have been displayed on your terminal screen gets redirected to these two files instead.
MongoDB
- python package:
pymongo