On Tue, Jun 16, 2009 at 4:27 PM, Essah Mitges <[email protected]> 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('somefile.txt', 'r')
for line in f.readlines():
print line
Just translate that.
HTH,
Wayne
_______________________________________________
Tutor maillist - [email protected]
http://mail.python.org/mailman/listinfo/tutor