What happens in the background when you run a python file?



What happens in the background when you run a python file?..

Answer / Kamal Kihsor

When you run a Python file, it gets compiled (or interpreted) line by line into bytecode by the Python interpreter. This bytecode is then executed by the Python Virtual Machine (PVM).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Python Interview Questions

What does the 'yield' keyword do in python?

1 Answers  


What are the steps required to make a script executable on Unix?

1 Answers  


What is set () in python?

1 Answers  


How long will it take to learn python?

1 Answers  


What is list comprehension how to define it and when to use?

1 Answers  


How to compare two list?

1 Answers  


Write a program to check for prime number?

1 Answers  


Is python an oop?

1 Answers  


What is itemgetter in python?

1 Answers  


What is python, what are the benefits of using it, and what do you understand of pep 8?

1 Answers  


What is monkey Patching in python?

1 Answers  


Explain me what are the principal differences between the lambda and def?

1 Answers  


Categories