Pointers in Python: What's the Point

By realpython - 2021-03-09

Description

In this step-by-step tutorial, you'll get a clearer understanding of Python's object model and learn why pointers don't really exist in Python. You'll also cover ways to simulate pointers in Python wi ...

Summary

  • Watch Now This tutorial has a related video course created by the Real Python team.
  • In this article, you’ll gain a better understanding of Python’s object model and learn why pointers in Python don’t really exist.
  • Understanding this difference is the first key to navigating the landscape of pointers in Python.

 

Topics

  1. Coding (0.34)
  2. NLP (0.03)
  3. Management (0.02)

Similar Articles

PyPy: Faster Python With Minimal Effort

By realpython - 2020-12-28

In this tutorial, you'll learn how you can use PyPy to improve the speed of your applications. You'll see how PyPy compares with other Python implementations like CPython and learn about features that ...

Python enumerate(): Simplify Looping With Counters

By realpython - 2020-12-15

Once you learn about for loops in Python, you know that using an index to access items in a sequence isn't very Pythonic. So what do you do when you need that index value? In this tutorial, you'll lea ...

Shallow vs Deep Copying of Python Objects

By realpython - 2020-12-06

What's the difference between a shallow and a deep copy of a Python object? Learn how to clone arbitrary objects in Python, including your own custom classes.

Working With Python Virtual Environments

By realpython - 2021-03-10

This course demonstrates how Python's virtual environments work as a "sandbox" and you get a quick walkthrough on how to set up a new environment (or virtualenv, as they're called for short) and how t ...