--Originally published at Welcome to the Heaven
Okay, not all the programmers begin programing with a Mac and don’t know about how run their programs in the terminal, for this, I’ll do this tutorial to make your life easier.
1.-Create your file in python and remember where did you put.
2.-Step 2: Open your terminal
3.-One more: if you put your file in a folder like Documents, you need to write:
> cd documents
#”cd” give you access to the carpet that you write.
And you’ll be inside this folder.
4.-The last one: I suppose that you’re using python 3, so only write:
>> python3 banana.py
banana = name of your file.