CS21 In Class: week 13

defining classes, linked lists

Setting up a subdirectory for week 13 in-class work


cd into your cs21/class/ subdirectory and create a new directory named 'week13', then cd into that directory:
$ cd cs21/class                     # cd into your cs21/class subdirectory
$ pwd	          
  /home/your_user_name/cs21/class

$ mkdir week13                      # make a subdirectory named week13   
$ cd week13                         # cd into it
$ pwd           
  /home/your_user_name/cs21/class/week13

Now copy over all the files from my public/cs21/week13 directory into your week13 directory (remember to add the dot as the destination of the cp command). From your week13 directory:

$ cp ~newhall/public/cs21/week13/* .
For Thursday copy over these files
$ cp ~newhall/public/cs21/week13/mainprog.py .
$ cp ~newhall/public/cs21/week13/linkedlist.py .
$ cp ~newhall/public/cs21/week13/node.py .

Weekly In-class Examples

This week we are going to:

str and list documentation
file I/O documentation