$ cd cs21/class/week06 $ cp ~newhall/public/cs21/week06/listOps.py . cp: overwrite './listOps.py'? y # say y (yes) $ cp ~newhall/public/cs21/week06/stringOps.py . cp: overwrite './stringOps.py'? y # say y (yes)
$ cd cs21/class # cd into your cs21/class subdirectory $ pwd /home/your_user_name/cs21/class $ mkdir week06 # make a subdirectory named week06 $ cd week06 # cd into it $ pwd /home/your_user_name/cs21/class/week06
Now copy over all the files from my public/cs21/week06 directory into your week06 directory (remember to add the dot as the destination of the cp command). From your week06 directory:
$ cp ~newhall/public/cs21/week06/* . $ ls Thurs_functionWorksheet2.py listOps.py randomcircle.py squareevens.py Tues_functionWorksheet.py partsmove.py shades.py stringOps.py
This week we are going to continue to write functions, draw the stack and trace through function calls, and write functions that take different types, including strings, lists, and graphics objects.
We are going to do some of the following together in class:
$ python from colorPicker import * colorPicker()