Python

Python

The Python programming language

Unravelling `async for` loops

When I decided the next post in my series on Python's syntactic sugar [https://snarky.ca/tag/syntactic-sugar/] would be on async for, I figured it would be straightforward. I have

Introducing the Python Launcher for Unix

The problem Let's say you have more than one version of Python installed on your machine. What version does python3 point to? If you said, "the newest version", you

Unravelling `async` and `await`

For this post in my Python syntactic sugar [https://snarky.ca/tag/syntactic-sugar/] series, I am going to cover async and await. Now when I started to think about this post I was

Unravelling the `with` statement

As part of my series on Python's syntactic sugar [https://snarky.ca/tag/syntactic-sugar/], I want to tackle unravelling the with statement [https://docs.python.org/3.8/reference/compound_stmts.

© 2013 Brett Cannon