---
title: "Discussion on \"Python Inner Working\" | Hashnode"
description: "Discussion on \"Python Inner Working\". When you write Python code in a .py file, Python does not directly execute that file line by line.\nInstead:\n\nPython reads your .py file.\n\nIt compiles the source code into bytecode.\n\nThat bytecode is then executed by the Python Virtual Machine (PVM).\n..."
url: "https://hashnode.com/posts/python-inner-working/6984dfcffebce796435b7a51"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Python Inner Working](https://know-python.hashnode.dev/python-inner-working?utm_source=hashnode&utm_medium=feed)

When you write Python code in a .py file, Python does not directly execute that file line by line. Instead: Python reads your .py file. It compiles the source code into bytecode. That bytecode is then executed by the Python Virtual Machine (PVM). ...

Feb 5 · 2 min read · know-python.hashnode.dev  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#python-internals](https://hashnode.com/tag/python-internals)

## Written by

[Bhupendra Singh Negi](https://hashnode.com/@BhupendraSinghNegi)

@BhupendraSinghNegi · dehradun uttarakhand

  
[View profile](https://hashnode.com/@BhupendraSinghNegi)

Fresher

Driven by Curiosity, Building the Web

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
