> There actually seems to be a bit of a problem in the
> interaction with the system when it launches mame.
>
> If I run this:
>
> import os
>
> def run_mame_selection(selection):
>os.system("C:\\mame096b\\mame.exe"+ selection)
>
> #main
> selection = " tnzs"
> run_mame_select
On Tue, 13 Sep 2005, Max Russell wrote:
> There actually seems to be a bit of a problem in the interaction with
> the system when it launches mame.
>
> If I run this:
>
> import os
>
> def run_mame_selection(selection):
> os.system("C:\\mame096b\\mame.exe"+ selection)
>
> #main
> selection =
There actually seems to be a bit of a problem in the
interaction with the system when it launches mame.
If I run this:
import os
def run_mame_selection(selection):
os.system("C:\\mame096b\\mame.exe"+ selection)
#main
selection = " tnzs"
run_mame_selection(selection)
raw_input(
> Also, does this work?
>
> ##
> def run_packman():
> os.system("C:\\mame096b\\mame.exe packman")
^^^
Gaaa. My apologies: that was a typo. Correct this (and other places
where I wrote 'packman') with whatever name you use to explicitly tell
MAM
Hi Max,
[Keeping tutor@python.org in CC. Please do not send replies only to me:
make sure tutor@python.org is being included in the reply.]
[Danny]
>> Hint: in the defintion of run_mame_selection, there's some string
>> concatenation going on here:
>>
>> ##
>> def run_mame_selection(selec
On Mon, 12 Sep 2005, Alan G wrote:
> > def run_mame_selection(selection):
> >os.system("C:\\mame096b\\mame.exe"+""+selection)
Hi Max,
If you're getting really stuck here, skip below for a hint.
Hint: in the defintion of run_mame_selection, there's some string
concatenation going on he
> import os
>
> def run_mame_selection(selection):
>os.system("C:\\mame096b\\mame.exe"+""+selection)
>
> #main
> mine = "pacman"
> run_mame_selection(mine)
>
> What I get is like a brief flash of the CMD prompt
Open the command prompt first and run it from there.
(Or add a raw_input() l
I've tried running that function, with a little Main
method like this:
import os
def run_mame_selection(selection):
os.system("C:\\mame096b\\mame.exe"+""+selection)
#main
mine = "pacman"
run_mame_selection(mine)
What I get is like a brief flash of the CMD prompt
like it is trying it and
I was using 2.3 but upgraded to 2.4 last night because
I had read about the subprocess module (then Danny
also brought tat to my attention.)
The wierd spacing is just Yahoo, sorry!
I'm probably going to try the same project in WX and
then QT, just to get a flavour.
thanks
Max
--- Alan G <[EMAIL
> I've been working on this for ages and am having real
> problems with getting the wiring for a selected game
> to launch when I click OK.
So what problems are you having? Do you get an error trace?
A superficial glance tells me only that
1) You might find using Tix will simplify your code(scroll
On Fri, 9 Sep 2005, Max Russell wrote:
> I've been working on this for ages and am having real problems with
> getting the wiring for a selected game to launch when I click OK.
>
> I haven't added my error handling yet.
[code cut]
Hi Max,
Hmmm... Out of curiosity, what happens if you try doi
Hi:
I've been working on this for ages and am having real
problems with getting the wiring for a selected game
to launch when I click OK.
I haven't added my error handling yet.
Can anyone help?
I've tried using spawn, system etc etc to no avail.
#Mame Launcher
#GUI launcher for MAME games
#F
12 matches
Mail list logo