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

53

u/K900_ SRE person // please don't DM me your questions Jan 05 '24

VSCode and PyCharm are IDEs, not interpreters.

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

1

u/sexytokeburgerz Jan 05 '24

Many will argue that but the silent majority will just call it an IDE once it has extensions for every language imaginable