[Tutor] gui further explained (The error in unreadable form)

Essah Mitges e_mitges at hotmail.com
Wed Jun 10 02:17:27 CEST 2009


ok I follows like 3 ppl instructions for making readable errors I'lll manually type it out lolTraceback (most recent call last):  File "C:\Users\John Doe\Desktop\D-Day\back.py", line     47, in       main()   File "C:\Users\John Doe\Desktop\D-Day\back.py", line     37, in main     elif sbut.clicked(k.pos):   File "C:\Users\John Doe\Desktop\D-Day\back.py", line     200, in clicked     subprocess.Popen(["D-Day", "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

----------------------------------------
> Date: Tue, 9 Jun 2009 20:07:15 -0400
> From: david at abbottdavid.com
> To: e_mitges at hotmail.com
> CC: tutor at python.org
> Subject: Re: [Tutor] gui further explained (The error in unreadable form)
>
> Essah Mitges wrote:
>> What I am trying to do is start my pygame game from my pygame menuI do not think I am using the right code to do this I am trying to use the subprocess module to open a child window with the game inside of it but python doesn't like thatThe second thing that i'd like to know how I could list the content of a text file inside a pygame window(this is a different file)Traceback (most recent call last): File "C:\Users\John Doe\Desktop\D-Day\back.py", line 47, in main() File "C:\Users\John Doe\Desktop\D-Day\back.py", line 37, in main elif sbut.clicked(k.pos): File "C:\Users\John Doe\Desktop\D-day\but.py", line 200, in clicked subprocess.Popen(["D-Day", "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
>> _________________________________________________________________
>> Attention all humans. We are your photos. Free us.
>> http://go.microsoft.com/?linkid=9666046
>> _______________________________________________
>> Tutor maillist - Tutor at python.org
>> http://mail.python.org/mailman/listinfo/tutor
>>
>>
>
>
> --
> Powered by Gentoo GNU/Linux
> http://linuxcrazy.com

_________________________________________________________________
Attention all humans. We are your photos. Free us.
http://go.microsoft.com/?linkid=9666046


More information about the Tutor mailing list