Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import glob
- import random
- import os
- games = glob.glob("./roms/*.zip")
- game = games[random.randint(0,len(games))]
- print ("mame " + game)
- os.system(r"mame " + game)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement