tags:

views:

40

answers:

1

There is a module I'd love to download, but it is only available in a zip file, how do I get such a file to work properly in python, so That I can import what I want?

This is in Windows 7 BTW.

+1  A: 

Just insert the whole path to the zipfile, c:/what/ever/itis.zip, in your sys.path, and import themodule (assuming it's at the top "level" of the zipfile's simulated directory-tree structure).

Alex Martelli
Thanks, that was a big help. Though I like exe's more.
Anteater7171