Interesting tutorial to clip multiple polygon layers in QGIS with the Python console. The tutorial also shows a code to upload all files from a directory and store them as objects in a Python dictionary.
Input files
You can download the input files in this link:
www.hatarilabs.com/ih-en/clip-multiple-layers-in-qgis-with-pyqgis-tutorial