This is a topic where users can come and write about anything python-related--if they need help with something, or want to show off their skills--this is the place.
So, let me get the ball rolling with a question:
How do you write a high score to a file and return it in some way within a program? Here is my code below. I politely ask that you tell me a way I could do it, but don't put code in for me. Code:
filename=raw_input("what is the name of the file you want to open?")
filename = file_question()
infile = open(filename, "rb")
infile = open('C:\\Users\\234265\\Desktop\\'+filename, 'rb')
for line in infile:
answer = line
trivia = open_file(filename)
for question in questions:
print "You got "+counter +"out of "+len(questions) +"right."
asker=raw_input("would you like to play again?")
print "have a nice day."