DEV Community

Gabor Szabo
Gabor Szabo

Posted on • Edited on • Originally published at code-maven.com

2

Python Programming Bootcamp #5 - REPL and __dunderscore__

00:00 Keyboard shortcuts for the slides
01:25 Reviewing the exercises from the previous chapter. Talking about operator precedence.
04:09 The math module of Python. Attributes and methods.
09:45 The Python interactive shell (REPL).
19:40 The beginning of the "Second steps" chapter up till "Conditional main".
19:55 Modules - the sys module, getsizeof.
30:00 The main function, indentation.
35:25 Can a function be named the same name as an already existing function?
37:10 Indentation
38:36 Conditional main (dunderscore) (error correction: those are quotations around "_main"_ not parentheses.)

Image of Datadog

Create and maintain end-to-end frontend tests

Learn best practices on creating frontend tests, testing on-premise apps, integrating tests into your CI/CD pipeline, and using Datadog’s testing tunnel.

Download The Guide

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more