The zipimport module can be used to import and run Python code found inside ZIP archives.
zipimport
Read more at pymotw.com: zipimport