Dumb question

Hello i am very new to coding, I am using python and sublime text. Once I write some code how do I run it?

Attached: Screen Shot 2018-07-14 at 11.56.25 PM.png (308x240, 144K)

Other urls found in this thread:

learnpythonthehardway.org/python3/
youtu.be/Txt-cLLa_vo
twitter.com/SFWRedditImages

what OS are you on?

Do you not know how to use the command prompt?

mac
no sorry I really am an idiot

>Hello i am very new to coding, I am using python and sublime text. Once I write some code how do I run it?

Attached: 1529227832660.jpg (1218x1015, 212K)

You have to compile it
For example in C++
cd "/directory/shit"
g++ hello.cpp -o hello
./hello

this makes no sense to me lol
>expecting me to be completely knowledgeable right when I start
Fuck off nigger

This is not your personal handholding helpline faggot, you can use a search engine to do this basic shit

I couldnt figure out how to do this from google.

Nigger, if you're that ignorant then download a IDE for Python like PyCharm or something else that just have the run button.
Or better yet, buy a begginer's course that teachs everything from the start.

God,you're really reatarded.
If you know at least the basic of computers you wouldn't be asking this.

Save ur file as: 'my_code.py'
Open up a terminal, use 'cd' to go to the directory where you save that file.
Then type: python my_code.py
If you cant use a terminal, read: learnpythonthehardway.org/python3/

Shit then you can't expect learning here too. Just watch some youtube videos and if you aren't a completely retard you will learn it easily

in the terminal
> python myscript.py

Please just answer my question instead of being condescending. Are you sexually frustrated or something?

Thank you kind fellows

Sage

Attached: 1490660767274.png (618x618, 69K)

wish it was a larp, I am actually this dumb

alright you are going to open the terminal app and finder and in finder you are going to navigate to where your code file is. in the terminal type "python " and then drag and drop your code file into your terminal after it so it will look like
> python code.py

Yes, now get the fuck out of here. jk
However I would recommend to start with an IDE, it will help you a lot to compile and debug your programs easily. Then you can learn some useful commands from terminal which can be a great tool while programming, good luck user.

Thanks man

Because you got dubs I will believe you. Watch this youtu.be/Txt-cLLa_vo
Also look on YouTube for guides. There are a ton of free ones out there that make it seem a lot easier.