'
You have a couple of ways in Python to get a list of files. The easiest is probably to use the 'glob' module, like this:
import glob
filelist = glob.glob('/home/tryeverylanguage/mprm*')
For details on glob, start an interactive Python session by typing 'python' at the command prompt and then typing import glob
, then help(glob)
To get the files you list into a zip file, you'll probably want to use the 'zipfile' module. For details on this module, in your Python interactive session type import zipfile
and then help(zipfile)
By the way, don't confuse the Python built-in 'zip' function with the command to create zip files -- it's completely unrelated.
Hopefully, this will be enough to get you started. Have fun with Python!