Pointers in Python Are A Real Thing

preview_player
Показать описание
In this video, we learn how to use C-pointers in Python.

◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
📚 Programming Books & Merch 📚

🌐 Social Media & Contact 🌐

Рекомендации по теме
Комментарии
Автор

When you showing the example with id(a) == id(b) at the beginning you could briefly explain the "Python Integer Caching" concept.

janbielecki
Автор

Very nice video 👍

The example where "a=literal; b=literal" results in "a is b" only works for "small" literals. I tried it out in Python 3.11.4 and it worked in the range [-5, 256].
"a=257;b=257;a is b" will return false. It is also a CPython implementation detail.

komma
Автор

3:22 why is it acting like that with i wish they remove this list behaviour in future versions

jakfrost
Автор

I really appreciate these advanced tips! Thanks

thisoldproperty
Автор

Thank you very much for the video, sir

AkashYadav-dikd
Автор

Hi, how to pass the pointer of a python class(self pointer) to a c function and retrieve it from another c function ? I mean SetWindowLongPtr and GetWindowLongPtr.

kcvinu
Автор

Next thing you´re going to tell me is that I can do manual memory management with Python using some weird module.

I can´t...RIGHT? Oh god, now that I think about it, something like "import Malloc" might just be something that actually exist.

MyriadColorsCM
Автор

i think for this year neural nine is the best youtuber with "grafikart" and 'codetalker9408' so thx a lot for all the video you share...

do you have an example that you can use this or is just thing we know but not using?

tcgvsocg
Автор

I just love the beat of your intro too😇😂

mrnewton
Автор

The question is why should i use pointers in python?

christiankoch
Автор

The neuralintents library isn't working i try the exact same code as your

SuitedforSuccess
Автор

B[0] = 100

Print(a)

Just hurt my soul for some reason. Why did that update ‘a’ and not an independent copy of ‘a’ that had been initialized during the statement ‘b=a’?

EigenA
Автор

What about the python pointer library?

jeffbezos
Автор

So u meant that python always deterrence that pointer behind the scenes ?

ВисалИнг
Автор

Would this increase performace or it wont make any difference

duftcola
Автор

Gratitude for your satisfactory Work 💪🚀🌟
What's 🆕 with you currently?

CultureofSpeech
Автор

I missed where this ability was useful? I get you have the ability to monkey around with pointers and their contents but… why?

stevenwilson
visit shbcf.ru