python script result in Terminal - hazel capture result?

Hi
I have a hazel rule, run Shell Script (embedded script), running a python3 script successfully.
However if I run this python3 script in terminal, I receive output -- which I like to save for later reference.
I would like Hazel to capture this output someway and save also. Is this possible or dreaming?
If possible, I am not sure what is the best approach to capture this output as I do not know much about shell scripts.
Any direction would be great.
Do I seek to capture the script output into a .txt file?
e.g.
turn debug on
write to text file
Thankyou for great your help!
I have a hazel rule, run Shell Script (embedded script), running a python3 script successfully.
However if I run this python3 script in terminal, I receive output -- which I like to save for later reference.
I would like Hazel to capture this output someway and save also. Is this possible or dreaming?
If possible, I am not sure what is the best approach to capture this output as I do not know much about shell scripts.
Any direction would be great.
Do I seek to capture the script output into a .txt file?
e.g.
turn debug on
write to text file
Thankyou for great your help!