[Tutor] printing a list to a window
srilyk at gmail.com
Wed Jun 17 02:11:55 CEST 2009
On Tue, Jun 16, 2009 at 4:27 PM, Essah Mitges <e_mitges at hotmail.com> 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():
Just translate that.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Tutor