Re: [Tutor] printing a list to a window

2009-06-16 Thread Alan Gauld
"Essah Mitges" wrote What I am trying to do is print a high score text file to a pygame window it kinda works... How do you define kinda? It doesn't look like it works to me. The function main defined as def main(): high_file = open_file("high_score.txt", "r") score = next_block(high_

Re: [Tutor] printing a list to a window

2009-06-16 Thread Wayne
On Tue, Jun 16, 2009 at 4:27 PM, Essah Mitges wrote: > > What I am trying to do is print a high score text file to a pygame window > it kinda works...I don't know how to go about doing this... > Do you know how to print text to a window? to read a file, just in a terminal window: f = open('som