Here's a quick video on how to create a python file and run it on the command line. I used emacs to create the file, but you can use sublime or another code-friendly editor to create your py file. Included is how to find python location using the whereis command
and also how to use chmod to add execution permissions so you can run the script without calling python explicitly from the command line.
On this page of the site you can watch the video online Running python code in a shell, also how to run scripts without calling python with a duration of hours minute second in good quality, which was uploaded by the user Anjchang 17 October 2017, share the link with friends and acquaintances, this video has already been watched 1,054 times on youtube and it was liked by 3 viewers. Enjoy your viewing!