asked 28.2k views
1 vote
What happens when you run a program in Python? ​

asked
User Xahtep
by
7.7k points

2 Answers

2 votes

Answer:

Hello There!!

Step-by-step explanation:

It doesn't convert the code into a machine code instead it converts it to a byte code.The python virtual machine executes the byte codes.

hope this helps,have a great day!!

~Pinky~

answered
User Borkovski
by
8.0k points
3 votes

Step-by-step explanation:

The python virtual machine executes the byte codes. The Python interpreter performs following tasks to execute a Python program : Step 1 : The interpreter reads a python code or instruction. Then it verifies that the instruction is well formatted, i.e. it checks the syntax of each line.

answered
User Eliran Eliassy
by
7.5k points

No related questions found