+ 6

What is the difference between console and actual code in python?

What is console?

30th Jun 2020, 2:55 PM
PUJA CHOURSIYA
PUJA CHOURSIYA - avatar
2 ответов
+ 4
Console is generally a command line interface where you can write and execute your Python code. You need an interpreter to run that code. Do not confuse it with the terminal which is used for input and output purposes. A Python code written in an interpreter could be executed on a line by line basis. When you write the same code on an IDE like PyCharm, your code is first compiled to a byte code and then it is run through an interpreter for execution.
30th Jun 2020, 3:17 PM
Avinesh
Avinesh - avatar
+ 2
Thanks
30th Jun 2020, 4:03 PM
PUJA CHOURSIYA
PUJA CHOURSIYA - avatar