The Real Python Podcast cover image

Serializing Data With Python & Underscore Naming Conventions

The Real Python Podcast

00:00

Python Naming Conventions and Underscore Usage

This chapter discusses the different ways underscore naming conventions are used in Python, covering concepts such as internal use only, avoiding naming conflicts with keywords, name mangling in classes, special attributes or methods, temporary variables, public and non-public methods and attributes. It also explores wildcard imports, name mangling, trailing underscores, and the convention of using the single underscore as a special variable in REPL sessions and loops.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app