Mastery01

1.Ability to create Python file and run from command line

To create a python file, you first need a text editor, in my case I’m using Atom; you may dowload it here.

Once you have finished writing your code, you must save your file with the .py extension.

Then in your terminal you must first open the Folder where your document is, using ‘cd’ at first’. For example ‘cd Document. Then you must type ‘python’ so the terminal will recognize the type of code you’re going to run. Then you have to write, in full lenght, your document. And you’re finished.

CC BY 4.0 Mastery01 by Alejandro Abreu is licensed under a Creative Commons Attribution 4.0 International License.

Comments are closed.