Context managers power Python's with blocks. They sandwich a code block between enter code and exit code. They're most often used for reusing common cleanup/teardown functionality.| www.pythonmorsels.com
Python is one of the most widely adopted programming languages in the world. Yet, because of it’s ease and simplicity to just “get something working”, it’s also one of the most underappreciated. If you search for Top 10 Advanced Python Tricks on Google or any other search engine, you’ll find tons of blogs or LinkedIn articles going over trivial (but still useful) things like generators or tuples. However, as someone who’s written Python for the past 12 years, I’ve come across a ...| Edward Li's Blog
This class implements a DBAPI-compliant interface. It is what the| www.psycopg.org
I was pairing with a colleague on some asynchronous streaming abstractions1 implemented in Python.| samgeo.codes
Originally published on the Met Office Informatics Lab blog on February 7th, 2018. We are excited to announce that the work we’ve been doing with distributed Dask clusters running on Kubernetes has been absorbed into an awesome new tool called Daskernetes through our work on the Pangeo project.| jacobtomlinson.dev
GraphQL resolvers should have been coroutines.| coady.github.io
A handy idiom with coroutines, borrowed from Python| vector-of-bool.github.io
Frustrated that hiring managers are not reading your Github projects? then this post is for you. In this post, we discuss a way to impress hiring managers by hosting a live dashboard with near real-time data. We will also go over coding best practices such as project structure, automated formatting, and testing to make your code professional. By the end of this post, you will have deployed a live dashboard that you can link to your resume and LinkedIn.| www.startdataengineering.com
Go's new proposed range over func grammar allows for Python-style context-managers.| Tamir Bahar
Protocols and structural subtyping¶| mypy.readthedocs.io
A comparison of programming idioms for doing cleanup work| blog.gnoack.org
Definitions for colloquial Python terminology (effectively an unofficial version of the Python glossary).| www.pythonmorsels.com