Lectures‎ > ‎

Week09

Working with Text Files

  • f = open('foo.txt')
  • lines = r.readlines()
  • f.close()
  • Show how to read a file a compute and average from name,score pairs

Memory Game Development

  • Show how to draw cards
  • Show how to create a grid of cards
  • Show how to find card based on mouse click

ą
Greg Benson,
Oct 17, 2013, 4:30 PM
ċ
game_v1.1.py
(1k)
Greg Benson,
Oct 17, 2013, 4:30 PM
ċ
game_v1.py
(1k)
Greg Benson,
Oct 17, 2013, 4:30 PM
ċ
game_v2.py
(1k)
Greg Benson,
Oct 17, 2013, 4:31 PM
ċ
game_v3.py
(2k)
Greg Benson,
Oct 17, 2013, 4:31 PM
ċ
reader.py
(0k)
Greg Benson,
Oct 17, 2013, 3:58 PM
ċ
scores
(0k)
Greg Benson,
Oct 17, 2013, 3:58 PM
Comments