예제 #1
0
	def saveToFile(games):
		f = LamecryptFile('savedgames', 'w')
		
		for g in games:
			f.write(repr(g) + "\n")
			f.close
예제 #2
0
	def saveToFile(highscores):
		f = LamecryptFile('highscores', 'w')
		for h in highscores:
			f.write(str(h) + "\n")
		f.close()