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?
Command-line Arguments Look at the example code from Monday. 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:
SocialNetwork
and Person
classes or use, for
example, help(Person)
so that you can refer to it. The
code for the UI should be fairly straightforward because you're simply
leveraging the APIs of the classes that you already wrote. Do NOT
rewrite code that you already implemented in
the SocialNetwork
or
Person
class.
In CSCI209, we use the Java programming language, which makes it easier to use the API without these manual steps.