Lab 10 FAQ

General Recommendations | Debugging Advice | SocialNetwork class | FaceSpace program

General Recommendations

Debugging Advice

SocialNetwork

Reading in the People File. When you read in from a file, what does every line end with? How will that affect your code? Anything you should fix?

Reading in the Connections File. We solved a similar problem in terms of reading in this file format in class when we read in the file with the format name year on separate lines.

Face Space

Command-line Arguments. Look at the example code from Wednesday. You may want to copy the program into IDLE. To test the command-line arguments, you need to run from the terminal. The idea is to make testing the program easier.

Recommendations: