Python examples / cookbook

Python dataclasses example

Playground

Example constructing graphviz markup using python

Playground

Example converting to and from JSON string using python

Playground

Python regular expressions example

Playground

Python list comprehensions example

Playground

Python type hints example

Playground

Python decorators example

Playground

Python dict comprehensions example

Playground

Python inheritance example

Playground

Python datetime format example

Playground

Python f-strings example

Playground