Today we made sure that everyone had python installed and went over some basics of the command line terminal. Essentially, we opened our terminal, typed “python” and messed around with the interpreter. We then created our first script, saved as “test.py” with the line:
print “hello world”
and successfully ran it on our terminal.
We then messed a bit with variables and a for loop.
The scripts we ran are attached. If you weren’t here, try and get them to run on your machine.