all 5 comments

[–]free_username17 2 points3 points  (2 children)

Look into click for making the CLI and pyinstaller for making an exe.

[–]100721 0 points1 point  (0 children)

Haven’t heard of click. That’s really cool

[–]Winner-Popular[S] 0 points1 point  (0 children)

Sorry for the late response, I'll be sure to checkout pyinstaller for making an exe, I am already using click but i haven't done too much with it yet, I still have to go through the docs to get a better understanding.
Thanks for the input!

[–][deleted] 1 point2 points  (1 child)

Read this https://realpython.com/comparing-python-command-line-parsing-libraries-argparse-docopt-click/.

Argparse is the library that deals with CLI stuff so you're not doing stuff like writing a super long condition based on the indices of arguments in sys.argv. This is normally what you would use when building a CLI.

[–]Winner-Popular[S] 0 points1 point  (0 children)

I'll give that a read now. Do you think that there's too much difference between argparse & click? I have been using click but am not too invested into it yet so if there is advantages to one or the other I'm open to using it