Extract file name after '>' from command line in python

前端 未结 0 2004
迷失自我
迷失自我 2020-12-15 04:23

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

相关标签:
回答
  • 消灭零回复
提交回复
热议问题