Making a Python file is pretty easy. Open a new Atom sheet and save it as a .py file.

atom

Screenshot from 2015-09-17 19:27:26

All right, now write your code.

hello

now run it with the command line.

hellocmd

Easy as pie.

CC BY 4.0 Mastery 1: Create Python file and run from command line by drag04 is licensed under a Creative Commons Attribution 4.0 International License.