.py file can be used as a module or as a "script" which is run from your operating system's command-line/terminal. Python is a great programming language for making command-line scripts.
My name is Trey Hunner. I do corporate Python training for teams and I teach Python online through Python Morsels.
In Python Morsels, I publish a new Python screencast every week.
If you want to learn something new every week, join Python Morsels!Join Python Morsels ✨