Hello! I'm confused about how to get to the program that actually implements your code....I've just been typing stuff into the shell and having it spit it back out, but how do you write code then make it run? Thanks
MIT 6.00 Intro Computer Science (OCW)
Stacey Warren - Expert brainly.com
Hey! We 've verified this expert answer for you, click below to unlock the details :)
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga.
Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus.
Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
which language are you using?
Ok...so you can start by opening a new file in you favorite file editor(vim, texmate, sublime., notepad etc) let us save this file and name it 'first.py'
Now in this file you can write all your code and then to run this go to your shell and type python first.py
Your code should run.
Not the answer you are looking for? Search for more explanations.
okay.. i'm not exactly sure what file editor I have. I'm on a mac. If i've never downloaded one, would I have one anyway?
Thank you so much by the way
is TextEdit one?
I remember in the lecture, the proff. said something like "push F5 to run code" or something like that...I think the program he was in was the Python Interpreter? So I redownloaded everything they said on the first page, but I still have the same stuff. I have IDLE, and something that won't seem to do anything called Python Launcher
TextEdit should work. Actually I am not from the course. But your professor may be using some IDE. I have not used IDLE so no idea where you are stuck . A google search or visiting IDLE website might help you get started.
Actually it is NOT necessary to use any IDE while coding. But using IDE makes your life easy :)
Okay :) thank you so much! I'll try that!
How to use IDLE:
Or, a great IDE is PyScripter:
And there is a free version of a commercial IDE:
Any of those should get you going!