Skip to content

Instantly share code, notes, and snippets.

View skorokithakis's full-sized avatar
💭
Better thus than not at all.

Stavros Korokithakis skorokithakis

💭
Better thus than not at all.
View GitHub Profile
@skorokithakis
skorokithakis / zipimport.py
Created January 9, 2011 18:46
Import zips and eggs for AppEngine.
import sys, os
package_dir = "packages"
sys.path.insert(0, package_dir)
for filename in os.listdir(package_dir):
if filename.endswith((".zip", ".egg")):
sys.path.insert(0, "%s/%s" % (package_dir, filename))