is there a Python compiler?

Norton Roman nortontr at gmail.com
Wed Mar 15 14:29:39 UTC 2006


Actually, it interpretes the code (.py files). However, it also generates a
bytecode (.pyc files) to run on its virtual machine, in the case you don't
change the original source file. This way, it runs faster code that you did
not change.

N

2006/3/15, Jochen Skulj <jochen at jochenskulj.de>:
>
> Hello,
>
> CJ Kelley wrote:
> > Ok, so i tried out python, and it was relitively close to qbasic in
> > coding. Although there were some differences in the coding, it is still
> > very easy to learn. One question I have about Python and that is, Is
> > there a compiler for python that will compile python source code?
> > --cj
>
> I think, Python is mainly an interpreted programming language, although
> Python can also compile and execute some kind of bytecode. I sometimes
> write small programs in Python but I don't really care if Python just
> interprets my source or if the bytecode is compiled and executed.
> Usually my Python programs run fast enough even if there interpreted.
>
> Cheers, Jochen
> --
> Jochen Skulj
> http://www.jochenskulj.de
> GPG Key-ID: 0x37B2F0B8
> Finger Print: F239 5D8D 97CD F91F 9D08  AE94 AA3B 1ED5 37B2 F0B8
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060315/d014b067/attachment.html>


More information about the ubuntu-users mailing list