Sign inSign in
ConceptSystems & CS

__Str__ method

A special dunder method that returns a string representation of an object when it is printed or converted to a string.
Watch it explained

Know first

Named as a prerequisite by the lectures that define this. The number is how many say so. A grey one has no page yet.

Opens up

Concepts that name this one as a prerequisite.

Lecturers

2

Each in their own terms, from the easiest level.

  • David J. Malan

    Harvard University · Introductory

    A special method in Python classes that defines how an object should be represented as a string when printed or converted.

Lectures that assume it

2

Connections

10

The lectures that define it or assume it, and the concepts next to it.

2 lecturers. Definitions are written by AI from each lecture’s transcript. A time with a play mark starts the lecture at the moment the lecturer says it.