CS130R Programming in Python, Spring 2014

Announcement

  • Homework 3 has been graded. Please let me know if you have any questions. Thanks.
  • All seniors must submit their reports before 5/7/2014 11:59PM.
  • Reserve your time slot using the following link: https://docs.google.com/spreadsheets/d/1nGNdMqq7LAGqBFAjI-hJ-evkyYkLFbfeEltsu8uSrp4/edit?usp=sharing
  • Arragement for final presentation has been posted. Let me know if you have any questions. Thanks.
  • Please vote for the presentation date for our final projection. http://doodle.com/5nidrvwm58rn39xk. Choose all the dates that work for you. After we fix the date, you will be asked to choose a 15-minute time slot from 2:30 to 6:30 later. For example, 2:30~2:45, 2:45~3:00, 3:00~3:15, ...
  • Homework 2 has been graded. For those who are not satisfied with your grade, you can correct the errors and resubmit it again. Please also send me an email of notification in this case.
  • I will not accept email submission of homework 2, 3 and 4 anymore. I will not reply your email submission of homework 2, 3 and 4 anymore. If you submitted your homework 2-week later than the deadline, I will make perfectly sure you get the following grade:
    0
    Thanks for your understanding and cooperation.

  • How to submit your homework from your computer (another method):
    Download "CrossFTP" from https://software .emory.edu/express/ ( your emory Network ID and password are requested). After installation, run CrossFTP. Then specify the current local directory in the "Local Pane" (on the left by default) and click the " connect" icon (highlighted in red rectangle on the left in the figure below) and select " site manager " in the pop-up menu.

    Next, specify the machine you would like to connect (in this case “compute”), as well as the user name (your Emory ID) and the password. The host is "lab0z.mathcs.emory.edu". Select the protocol as "SFTP/SSH". Click "Connect".

    Select “Always” or “Yes” to proceed.

    Specify the target directory on the lab machine. Right click the file (e.g., HelloWorld.java) to be copied over in “local pane”, and click “Transfer/Copy”.

    Done.
  • Homework 1 has been graded. Please check the "grade.txt" file in your cs130r directory. If you would like to correct the errors in your program, please let me know.
  • In case you didn't notice, our Midterm is on April 2nd.
  • How to submit your homework from your computer:
    Open a terminal. To connect to server: ssh -l yourID lab0z.mathcs.emory.edu
    type your password
    To change directory to your cs130r: cd /home/yourID/cs130r/
    To create a new subdirectory: mkdir hw1
    Then : cd hw1
    Open another terminal. Change to your homework directory (using cd)
    To update all the files to our lab server: scp -r ./* yourID@lab0z.mathcs.emory.edu:/home/yourID/cs130r/hw1/
    If you see the transferring process, then you have successfully submited your homework1. Congratulations.
  • Friday's lab will be changed to a regular class. But still in our lab room(E308 MSC).
  • Due date of HW1 will be Feb20.
  • while(today.shut_down):
          class=False
          hw1.due_date=hw1.due_date+1
          today=today+1
  • If you don't like geditor, or if you don't like the command line style, Spyder is a good alternative choice to edit, test and run your Python program all in one place.
  • Prepare early for lab2 and lab3.
  • Submissions of lab assignments are not required because they will be not graded. Don't worry about the deadline please. If you did submit your lab assignments, I will take a look.
  • Lab session on 01/31(Friday) will be changed to regular class in W306. Happy Chinese New Year!
  • if school.status==shut_down:
          no class
          no office hour
          no lab
    else:
          class on schedule
          office on schedule
          lab on schedule
    print("Please pay attention to Emory's notification, thanks")
  • Create lab1 subdirectory in your cs130r directory. Put your program in lab1. Thanks.
  • No lab on 01/17. All you need to do is to install Python on your computer.