By default, I think the program should read from / write to STDIN / STDOUT. You can do this by using argparse.FileType, and setting the defaults to sys.stdin and sys.stdout. For example, the program now seems to create a file cleaned_bib.bib which is hard to know.
By default, I think the program should read from / write to STDIN / STDOUT. You can do this by using
argparse.FileType
, and setting the defaults tosys.stdin
andsys.stdout
. For example, the program now seems to create a filecleaned_bib.bib
which is hard to know.