K
K
KeksikProg2020-08-30 20:39:52
Python
KeksikProg, 2020-08-30 20:39:52

What books would you recommend to understand how python works “under the hood”?

Hello everyone! In general, I study python / django and I like everything, but very often I hear nit-picking about the fact that if you learn python, you poorly understand how everything works under the hood and you should start with C or C ++. So I wanted to ask what books you would recommend in order to still figure out how everything is arranged from the inside, but at the same time not go deep into the syntax, sorry for such a stupid question, I'm still learning. Thanks in advance for your replies!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Gornostaev, 2020-08-30
@KeksikProg

To understand how Python works under the hood, you can read this . Only the nit-picking you mentioned is about the under-the-hood device not of Python, but of the computer and operating systems. To deal with this, it is worth reading Tanenbaum .

R
res2001, 2020-08-31
@res2001

To understand how it works under the hood, it is useful to write in C / C ++ some module for python using Python C-API .
Beasley has a good introduction to the subject in his detailed reference book. No one else has seen better in Russian.
But in general, Beasley is for seed, the rest of the documentation at the link is enough to write a module.
You can also dig into the source codes of the python, there, in principle, everything is not quite complicated enough.
All this, of course, will require knowledge of C / C ++, but after all, python is also written in C, so in order to understand how everything is inside, in any case, you need to master C at some level.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question