When a tutorial is assigned, you should login to Rivanna and actively try to use the code as it is being explained. 


Note:  If something won't work come to office hours or post to Piazza so we can help. 


To do this you can either:

  1. Run python interactively:   At the Linux command line type "python"  and press enter.  This is fine for simple examples.  
  2. Write a python program:  For example you could copy hello.py (from class 2) over into a new file.  At the linux command line type "cp hello.py to turorial_1.py".  Then you can edit tutorial_1.py with examples from the tutotial and run tutorial_1.py by typing this on the command line:  "python tutorial_1.py". 
  3. Use a Jupyter notebook (once we learned how to use these in class). 
  • No labels