On Tue, 20 Feb 2007 21:19:26 -0800, John Nagle wrote: > Well, something faster really should take over. It's a bit > embarassing that the main implementation of Python is still a > pure interpreter. Even Javascript has a JIT compiler now. > And it's tiny, under 1MB.
Python has a compiler, just like Java. That's where the .pyc files come from. You might also notice the built-in function "compile", which compiles text strings into byte-code and puts it into a code object. The dis module may also be of interest. -- Steven D'Aprano -- http://mail.python.org/mailman/listinfo/python-list