I have a Python file test.py and its output is 5 lines. I want to redirect the output (these 5 lines) into a log-file. Is it a way to run the test.py
test.py