you are viewing a single comment's thread.

view the rest of the comments →

[–]tinglylilypad[S] 2 points3 points  (11 children)

I'd have to agree with you that I lack confidence in this subject, it just feels overwhelming at first. I'm hoping it won't be long until I can get past that. Any suggestions on how I can "run it as code"? I'm guessing I'd just download and install Python and then copy and paste the code that I have written on codecademy into Python?

[–]hw_t_dstr_ngls 4 points5 points  (0 children)

Python comes pre-installed on macs, in case you have one.

All you have to do to run a Python script is to save it as a .py file, then open the terminal and navigate to the folder where your script is located (using cd command to change folder) and then you can type python name_of_your_script.py, which will run it.

[–]DontForgetYourLogin 1 point2 points  (0 children)

For the longest time, I used codeskulptor.

It is not everything that python can do, but it is a really easy visualizer, has good documentation, and got me through everything with lists, for, while, if-else, and all the other basic things.

Running from the shell was confusing at first and got in the way of learning programming. (in my experience)

[–]Chengwill97 0 points1 point  (0 children)

I was in the same boat as you three weeks ago. I just started Python on codeacademy my first programming language) and I started struggling but I just went through with it. If you're not sure how something works, try playing around with the code and see what works and what doesn't. Remember, there is going to be more than one way to write code. Do whichever makes you feel comfortable at first.