r/learnpython • • Jan 05 '24

Why are interpreters required for programming ?

i'm trying to learn python ....i'm hearing a lot of stuff about interpreters....just wanna know what are they for..why are they required...can i learn python without interpreter...without vs code or py charm

Cuz i wrote some codes in python and it worked without connecting python to interpreter ....why is an interpreter necessary

Plz enlighten me

14 Upvotes

71 comments sorted by

View all comments

Show parent comments

10

u/notacanuckskibum Jan 05 '24

VSCode and PyCharm are Integrated Development Environments (IDEs) and one of the things they integrate is an interpreter.

Computers can’t understand and run Python (or JavaScript, or C…) You need an interpreter or a compiler to convert the English like syntax into something the computer can understand.

-16

u/outofband Jan 05 '24

VSCode is not an ide

6

u/okabe_rintarou-42 Jan 05 '24

It is essentially

-8

u/Krudflinger Jan 05 '24

It’s essentially a text editor

9

u/usrlibshare Jan 05 '24

And an lsp client, lsp server runner, gitclient, project structure manager, with bindings to linters, ci/cd tooling, compilers, has a builtin terminal, integrates with project management software...

...pretty sure that's an IDE my friend.

-7

u/Krudflinger Jan 05 '24

That’s a patchwork of features that are a developer environment. that they aren’t integrated together as a cohesive product is why it isn’t an ide, my friend. see differences between visual studio and vs code