Diana Gastrin
Python: Behind the Scenes
#1about 5 minutes
Understanding the core attributes of Python objects
Every object in Python is defined by its value, ID, and type, with mutable objects like lists differing from immutable ones like tuples.
#2about 2 minutes
Exploring Python's dynamic and duck typing model
Python uses dynamic typing, where a variable is a pointer to an object, allowing for flexible 'duck typing' based on method availability rather than inheritance.
#3about 6 minutes
Navigating variable scopes with global and nonlocal
Python resolves variables using the LEGB rule (Local, Enclosing, Global, Built-in), and the `global` and `nonlocal` keywords are used to modify variables in outer scopes.
#4about 2 minutes
How Python simulates private methods using name mangling
Python doesn't have true private methods, but it uses name mangling on methods prefixed with a double underscore to discourage direct access from outside the class.
#5about 3 minutes
Understanding boolean logic and short-circuit evaluation
The `and` and `or` operators use short-circuit evaluation, stopping as soon as the outcome is known and returning the actual object that determined the result.
#6about 5 minutes
Exploring comparison operators and Python's caching behavior
The `is` operator checks for object identity, revealing Python's internal caching of small integers and simple strings for performance optimization.
#7about 1 minute
Audience Q&A on slots, globals, and private properties
The speaker answers audience questions regarding the relevance of `__slots__` in modern Python and the best practices for using `global` and `nonlocal` keywords.
Related jobs
Jobs that call for the skills explored in this talk.
Matching moments
00:17 MIN
The history and philosophy of the Python language
Python Data Visualization @ Deepnote (w/ PyViz overview)
10:26 MIN
Why coding fundamentals are essential in the AI era
Inspiring Young People (and Their Parents) to Become Programmers - Cassandra Chin
05:39 MIN
Key use cases for Python streaming frameworks
Convert batch code into streaming with Python
08:31 MIN
Why Python became the dominant language for AI
Coffee with Developers - Stephen Jones - NVIDIA
06:33 MIN
Adopting a philosophy of configuration without configuration files
Automagic Configuration in Python
27:46 MIN
Key takeaways for modern data processing
Convert batch code into streaming with Python
09:11 MIN
Python usage is rapidly catching up to JavaScript
The Evolving Landscape of Application Development: Insights from Three Years of Research
28:41 MIN
Why observability is critical for Python and AI applications
Observability with OpenTelemetry & Elastic
Featured Partners
Related Videos
Pointers? In My Python? It's More Likely Than You Think
Eli Holderness
CUDA in Python
Andy Terrel
Overview of Machine Learning in Python
Adrian Schmitt
Enterprise Python: Software That Lives Long And Prosper
Álvaro Durán
Making Sense of Programming Languages
Aleksandra Sikora
Accelerating Python on GPUs
Paul Graham
C++ Features You Might Not Know
Jonathan Müller
Accelerating Python on GPUs
Paul Graham
Related Articles
View all articles



From learning to earning
Jobs that call for the skills explored in this talk.

Senior Python Software Entwickler (m/w/d) Google Cloud
SOURCE GmbH
Wiesbaden, Germany
€65-75K
Senior
Python

Python Backend Engineer (Mathematical Focus)
Klepsydra Technologies
Chantada, Spain
Remote
Bash
REST
Linux
Python
+1


Full Stack Developer - Python
Pythonquest Global Engineering Limited
Yattendon, United Kingdom
€62K
GIT
Azure
NoSQL
React
+6

Python and Kubernetes Software Engineer - Data, Workflows, AI/ML & Analytics
Canonical Ltd.
Municipality of Valencia, Spain
Remote
C++
Azure
Linux
Python
+5

Python and Kubernetes Software Engineer - Data, Workflows, AI/ML & Analytics
Canonical Ltd.
Municipality of León, Spain
Remote
Azure
Linux
Python
Docker
+4

Programador Python AI
Tecdata
Municipality of Madrid, Spain
Intermediate
API
REST
Python
Docker
Microservices
+2

Software Engineer (Python / willing to learn C#, Mid-level)
Scenarium AI GmbH
Berlin, Germany
Remote
Intermediate
API
Python
Microservices
Machine Learning
