Given I have a super simple Python file like:
print ("Hello World")
how can I make so when I open up my terminal and enter helloworld it will just execute that code and print "Hello World" to the terminal? Just in the same way some Python packages like "pip" work?
EDIT: I'm on a Mac but I'd like it to work on Linux and PC as well
Thanks a lot for your feedback in advance and sorry for the very basic question.