new file:   mscript.py
Added a workaround of the same code as mscript.c but in python. Based on
pymatlab it provides better error handling.