Skip to content

Nov 15: Quiz 5b, PA2 Hints

Learning Objectives

After today's class, you should be able to:

  • Implement the rest of PA2-C, including unit tests (not submitted).
  • Explain how to run PA2 from the command line or Thonny's shell.

Announcements

Testing PA2

Do yourself a favor and create unit tests…

  • test_game_utils.py, test_utils.py, test_main.py
  • How to run words_main and play the game

Quiz 5b

  • Log in as student
  • Only two windows:
    1. Thonny
    2. Web browser
  • Web traffic monitored
  • Log out when finished

PA2 Solution

I'll give you a sneak peak so you can finish…

  • words_game_utils.py, words_utils.py, words_main.py
  • Use the argv parameter, not sys.argv directly