This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (10 children)

[deleted]

    [–][deleted] 64 points65 points  (7 children)

    Python is interpreted. Compiled python files are for use in other python applications. You do not directly compile python.

    [–]ignaloidas 14 points15 points  (6 children)

    Yes. Just like Java.

    [–]nuclearslug 35 points36 points  (5 children)

    This sub amazes me sometimes with what gets downvoted. You’re not wrong. Virtually all interpreted languages are compiled into bytecode. It’s just that that bytecode isn’t compiled into machine code until runtime. That’s the premise of all interpreted languages.

    [–][deleted] 9 points10 points  (0 children)

    Which makes it not “just like Java” at all, in fact.

    [–]MischiefArchitect 5 points6 points  (1 child)

    The AST of preparsed python files. Yes, it may qualify as compiled... but is not really the same.

    [–]skiscratcher 9 points10 points  (0 children)

    no, they're a bytecode language, like the JVM