Pointers and Objects in Python
Austin Cepalia
12 Lessons
47m
intermediate
python
If youβve ever worked with lower-level languages like C or C++, then you may have heard of pointers. Pointers are essentially variables that hold the memory address of another variable. They allow you to create great efficiency in parts of your code but can lead to various memory management bugs.
Youβll learn about Pythonβs object model and see why pointers in Python donβt really exist. For the cases where you need to mimic pointer behavior, youβll learn ways to simulate pointers in Python without managing memory.
In this course, youβll:
- Learn why pointers in Python donβt exist
- Explore the difference between C variables and Python names
- Simulate pointers in Python
- Experiment with real pointers using
ctypes
Pointers and Objects in Python
12 Lessons 47m
2. Pointers in C 09:15
3. Pointers Analogy 03:10
7. Intern Objects 02:54
About Austin Cepalia
Austin is a video tutorial author at Real Python. He's currently a sophomore working toward a degree in computer science at Rochester Institute of Technology.
Β» More about Austin




