Is python a interpreted or compiled language?

gmspro gmspro at yahoo.com
Wed Jun 20 19:30:36 EDT 2012


Hi,

Is python a interpreted or compiled language?
What does happen after this command: python f.py

I knew python makes file.pyc file to store the bytecode. For java , .class file is the bytecode file, someone can run that file from any machine. So is the .pyc file executale like java?

Can anyone please explain/elaborate the process/order of executing python file with example?

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20120620/08ae4083/attachment.html>


More information about the Python-list mailing list