+ 1

Need Clarification For Some Terms !

Someone please clarify the following terms: -Python Shell -Interpreter -IDLE -Text editor (e.g. Sublime) I went around the internet searching for definition but ended up confusing myself even more... please help!

11th Oct 2019, 2:53 PM
John Lin
John Lin - avatar
3 odpowiedzi
+ 2
- Python shell : it is the area where you code gets executed (sometime refered to as output window) - Interpreter : it program which reads the code written you(programmer) and executes it on shell - IDLE : It is an IDE(Integrated development environment) for python. It is the area where you write your code - Text Editor : it is a software which just helps you to edit plain text(eg your notepad). On the other hand text editors like Sublime text just helps you to type your code by highlighting the different words and providing indentation. There is very minute difference between them and it is very easy to get confused by them
11th Oct 2019, 4:02 PM
Arsenic
Arsenic - avatar
+ 1
This made it clearer then before, thanks! But then why let the interpreter read your code then execute it on shell, rather just run the code on shell straight away? Basically what is the purpose of the interpreter reading your code?
11th Oct 2019, 4:20 PM
John Lin
John Lin - avatar
+ 1
John Lin shell can execute code in language in which your computer can understand (0s and 1s) so interpreter translates your code in the language of your computer
12th Oct 2019, 12:20 AM
Arsenic
Arsenic - avatar