[Tutor] mamelauncher (fwd)

Max Russell max_russell2000 at yahoo.co.uk
Tue Sep 13 20:10:13 CEST 2005


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()

mame reports files missing, but I can launch the game
manually- I suspect that this is some sort of error
that occurs normally but is bypassed on launch and
that  my one-shot attempt to launch the thing cannot
handle. I think I need to have a wee look at
subprocess!

ta

Max

--- Danny Yoo <dyoo at hkn.eecs.berkeley.edu> wrote:

> > 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
> MAME to run PacMan.
> 
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
> 



		
___________________________________________________________ 
How much free photo storage do you get? Store your holiday 
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com


More information about the Tutor mailing list