Naved Alipython-inner-working.hashnode.dev路Sep 25, 2024What is PVM | Python WorkingPython doesn鈥檛 convert its code into machine code, something that hardware understnad. It converts it into something colled byte code. So within Python, compilation happens, but it鈥檚 just not in a machine language. It is into bye code (.pyc or .pyo) ...Python
Saurav Shrivastavsaurav23.hashnode.dev路Aug 30, 2024Understanding the Global Interpreter Lock (GIL) and Its Impact on Threading in PythonWhat is the GIL? The Global Interpreter Lock (GIL) is a mutex that protects access to Python objects, preventing multiple native threads from executing Python bytecode simultaneously. The GIL exists because CPython, the reference implementation of Py...10 likes路31 readsPython
Sunil kumarsunil-codes.hashnode.dev路Jun 2, 2024Why Python __pycache__ file? 馃At first, I wondered why this file was created automatically. Later, I learned the reason and gained a deeper understanding. You will never see this __pycache__.pyc if you are working on top-level files (Single file in the folder). __pycache__.pyc is...45 readsPython
Akash Mishrapythoninner.hashnode.dev路Mar 30, 2024Python Inner Working how program exicutesPython Inner working: Step 1: The Python script is compiled into bytecode. Here, "compilation" refers to the process within Python's internal workings. The bytecode generated is not directly understandable by the machine; rather, it is meant for inte...python beginner
Ononiwu Ifeanyiwisdomblogs.hashnode.dev路Dec 30, 2022Getting Started with CPython: 2Hello reader, The last article on CPython, we talked about calling a simple hello world function from a python script. Read about it here. Let us talk about printing the attributes of a python list object as defined in C Task: Print the number of ite...244 readscpython
Ononiwu Ifeanyiwisdomblogs.hashnode.dev路Dec 30, 2022Getting Started with CPython : 1Hello reader, It's the second sprint of the ALX-SE program and things are getting more interesting. In the first sprint, most advanced tasks were mostly about 'crack-mes', now they are about CPython and then python bytecodes. This article aims to giv...1 like路108 readscpython