News for hackers. Stuff that matters.
Re:Python-patterns – A collection of design patterns/idioms ... by LittlePeter on Tuesday May 31, 2022 @03:54AM (#31567073)
I once had a working "encapsulate" but lost the code. That code was modified version of this: https://docs.python.org/3/library/importlib.html#approximati...

My "encapsulate" was 4 lines of code at most IIRC. As someone mentioned, autocomplete in PyCharm did not work.

There are no comments on this comment yet.