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/Plank_With_A_Nail_In Jan 05 '24 edited Jan 05 '24

lol the default install is like 2 clicks away from being a very good Python IDE....but apparently those two clicks make all the difference to pedants like you. Life is already hard enough without people making up nonsense rules like these for themselves.

2

u/outofband Jan 06 '24

There is no need to get heated up. I’m just stating how things are. Beside VSCode itself does market it as an editor and not an IDE.