Explore >> Select a destination


You are here

blog.nuculabs.de
| | www.integralist.co.uk
1.6 parsecs away

Travel
| | Introduction In this post I wanted to discuss a relatively simple, but important topic: Context Managers. I want to cover the what, the why and the how. But before we get into it... time for some self-promotion ?? Want to be up and running quickly with Python? Get started here with my book "Python for Programmers"! Summary Content Managers abstract away 'clean-up' logic. Define a class with __enter__/__exit__ methods. The __enter__ method is similar to a try block.
| | initialcommit.com
4.1 parsecs away

Travel
| | In this article, you will learn how to fix the "SyntaxError: Positional Argument Follows Keyword Argument" in Python by understanding what positional and keyword arguments are, which will help you prevent this error from occurring in the future.
| | florimond.dev
2.9 parsecs away

Travel
| | A memo on implementing parametrized decorators whose default behavior doesn't require empty parentheses.
| | florimond.dev
24.9 parsecs away

Travel
| ChainMap in a nutshell: treat multiple dictionaries as one, unlock Python superpowers.