How can I extract the filename after sign \'>\' from a command line in python. For example:
python func.py -f file1.txt -c > output.txt
I want to get the