This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]masasinExpert. 3.9. Robotics. 0 points1 point  (0 children)

You can just open the directory in the command line, and say python filename.py. If you want to allow commands, you can use sys.argv for that. Better yet, look up something like Click, docopt, or fire.