I need to make a list of high scores that updates itself upon new entries. So here it goes: First step - done I have player-entered input, which has been taken as a data for a few calculations: import time import datetime print "Current time:", time1.strftime("%d.%m.%Y, %H:%M") time1 = datetime.datetime.now() a = raw_input("Enter weight: ") b = raw_input("Enter height: ") c = a/b Second step - making high score list Here, I would need some sort of a dictionary or a thing that would read the previous entries and check if the score (c) is (at least) better than the score of the last one in "high scores", and if it is, it would prompt you to enter your name. After you entered your name, it would post your name, your a, b, c, and time in a high score list. This is what I came up with, and it definitely doesn't work: list = [("CPU", 200, 100, 2, time1)] player = "CPU" a = 200 b = 100 c = 2 time1 = "20.12.2012, 21:38" list.append((player, a, b, c, time1)) list.sort() import pickle scores = open("scores", "w") pickle.dump(list[-5:], scores) scores.close() scores = open("scores", "r") oldscores = pickle.load(scores) scores.close() print oldscores() I know I did something terribly stupid, but I hope you can help me out with this one. Continue reading...