[Tutor] gui

Essah Mitges e_mitges at hotmail.com
Wed Jun 10 00:26:24 CEST 2009

What I am trying to do is using a pygame window I want to list the contents of a text call high_score.txt in that windowThe second thing I am trying to do is initiate my game also made in pygame to start off a button that a programmed called Destruction.pyThe error was what had happened was that the module i made for pygame is not initiating my game properly 

> Subject: Re: [Tutor] gui
> From: sander.sweers at gmail.com
> To: e_mitges at hotmail.com
> CC: tutor at python.org
> Date: Wed, 10 Jun 2009 00:20:11 +0200
> Can you try this again but please use plain text instead of html.. If
> you can not send in plain text then use a pastebin like
> python.pastebin.com to show your code and/or error messages.
> Greets
> Sander
> On Tue, 2009-06-09 at 17:41 -0400, Essah Mitges wrote:
>> I was wondering in a python made in pyg4m3 menu how to initialize
>> another pyg4m3 Destruction.py from a button in the event handler this
>> is the error i keep getting Traceback (most recent call last):   File
>> "C:\Users\John Doe\Desktop\Destruction\back.py", line 47, in <module>
>> main()   File "C:\Users\John Doe\Desktop\Destruction\back.py", line
>> 37, in main     elif sbut.clicked(k.pos):   File "C:\Users\John Doe
>> \Desktop\WODDS\but.py", line 200, in clicked
>> subprocess.Popen(["Destruction", "Destruction.py"])   File "C:
>> \Python26\lib\subprocess.py", line 595, in __init__     errread,
>> errwrite)   File "C:\Python26\lib\subprocess.py", line 804, in
>> _execute_child     startupinfo) WindowsError: [Error 2] The system
>> cannot find the file specified Also  could anyone help me to display
>> the contents of a text file in a pyg4m3 window

Windows Live helps you keep up with all your friends, in one place.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20090609/b0387364/attachment.htm>

More information about the Tutor mailing list