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@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to