Movatterモバイル変換


[0]ホーム

URL:


Locked learning resources

Join us and get access to thousands of tutorials and a community of expert Pythonistas.

Unlock This Lesson

Locked learning resources

This lesson is for members only.Join us and get access to thousands of tutorials and a community of expert Pythonistas.

Unlock This Lesson

Pointers and Objects in Python (Summary)

You now know how Python deals with objects andpointers! You learned about the differences between names and variables, which is important for understanding how Python handles variables. You also saw that you can simulate pointers in Python without sacrificing the memory safety that Python provides.

You can simulate pointers in Python by:

  • Usingmutable objects as low-overhead pointers
  • Creating customPython objects for ease of use
  • Unlocking real pointers with thectypes module
Download

Sample Code (.zip)

5.2 KB
Download

Course Slides (.pdf)

2.5 MB

Locked learning resources

Join us and get access to thousands of tutorials and a community of expert Pythonistas.

Unlock This Lesson

Already a member?Sign-In

Locked learning resources

The full lesson is for members only.Join us and get access to thousands of tutorials and a community of expert Pythonistas.

Unlock This Lesson

Already a member?Sign-In

Avatar image for DFreyer

DFreyer onJuly 8, 2020

Very good Presentation. I learned a lot.

Avatar image for Santosh

Santosh onJuly 8, 2020

Great job! Loved the flow and presentation.

Avatar image for felixthec

felixthec onJuly 8, 2020

:Applause: A very good and informative presentation.

Avatar image for Jordan Rowland

Jordan Rowland onJuly 11, 2020

This was an awesome lesson! Very clear and concise. Bravo!

Avatar image for Hilman

Hilman onJuly 11, 2020

Good presentation. A good refresh for me on C pointer. And this is my first time learning working with C type in python!

Avatar image for mahlenius

mahlenius onJuly 12, 2020

Great presentation. Very helpful. Its great that he calls out where Python is strong for some problems and weak for others.

thank you

awesome presentation!

Avatar image for anders stenborg martin

anders stenborg martin onJuly 15, 2020

Great course, well presented!

Nice presentation. Would love to see a more advanced course on using the ctypes module to call C functions for all sorts of argument types and return types.

Avatar image for srihariraju

srihariraju onAug. 12, 2020

Good presentation

Very informative and clear; thank you so much!

Avatar image for g2sgautam

g2sgautam onDec. 20, 2020

I am getting an error

“TypeError: ‘CDLL’ object is not callable” on my Windows machine when I execute the code in 2nd last vide tutorial

Any solutions ?

Great course, Austin. I’ve watched it three times to drill it in, and just wanted to drop a comment saying you’re a good teacher. All writers here on Real Python strike me as good, but I found you stood out. I’ll be looking for content from you in the future. I just felt compelled to pat you on the back for this course. Good job!

Avatar image for Joachim Spange

Joachim Spange onDec. 12, 2022

Great course.After postingAdd a pointer to image data in memory to acquisition queue, not the retrieved image data at stack overflow and not getting any answers within the coming days I watched this series. It was really insightfull and I now understand the complexity of the question I’m asking and why I’ll maybe never get a conclusive answer. I must roll up my sleeves and fix this with a C-function and CPython

Avatar image for Andras

Andras onFeb. 27, 2025

Great course, thank you!

Become a Member to join the conversation.

Course Contents

Overview
100%

[8]ページ先頭

©2009-2026 Movatter.jp