Closed deepserket closed 6 years ago
Using context managers is a good idea instead of opening and closing files :+1:
These changes still use sys.argv
in rockstar.py
- would it be better remove this in favor of the argparse
solution? E.g.:
# rockstar.py
...
if __name__ == '__main__':
command_line.main()
Thanks for that! I'll accept the PR and change rockstar.py
as suggested by @jmsv
why command line args are managed in 2 different files? it's basically the same code (obviously the version that use argparse is better)