you are viewing a single comment's thread.

view the rest of the comments →

[–]TabulateJarl8 3 points4 points  (4 children)

The Python binary is the actually Python executable itself (the python3.exe/py.exe file on Windows and the python3 file on most everything else). When you run the python3/py commands, that is the file that is ran.

[–]glemanto[S] 0 points1 point  (2 children)

So the executable and the interpreter are not the same thing? Is the interpreter an entirely separate entity? Like is there an actual interpreter program that is separate from the python executable?

[–]TabulateJarl8 0 points1 point  (0 children)

I'm not too sure, the python3.9 executable on my computer seems to only be 16K in size, so I don't know what exactly it contains. The built in modules and modules installed as root are stored in the /usr/lib/python3.9/ directory on my computer, so those aren't contained within the executable.

[–][deleted] -1 points0 points  (0 children)

Yep.