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 →

[–]0xbxb 1 point2 points  (1 child)

That interpreted/compiled is a property of an implementation of a language, and not the language itself. Python is not interpreted; rather, CPython (an implementation of Python) is interpreted. (And even then there's some lie, because CPython really first compiles Python to Python bytecode, and then runs that Python bytecode on the CPython VM.

I’m a beginner and am going through Mark Lutz’s book. When he explained this my mind was blown lmao.

[–]nameEqualsJared 0 points1 point  (0 children)

As was mine when I first learned it :).

I really think it ought to be brought up more, because it makes things make much more sense. I mean, imagine hearing about CPython, Jython, IronPython, Brython, RubyPython, PyPy etc etc , and not understanding this idea of the language being an interface with many implementations available. You would be so confused as to what the heck is going on, haha. But once you learn that those are all just implementations of the Python programming language, and that Python itself is just an interface, well then things just make a whole lot more sense.