I believe Java's .jar files are also compressed. All that needs to happen is for the interpreter to decompress the file into memory, and then interpret the code. Whether it actually happens that way in Python or not, I don't know, but it's how I'd probably do it.
|