Sep-29-2018, 09:24 AM
No. Even using a context manager, you'd just be substituting. Obviously you could create a function that could take a class/instance and call methods for that. Examples on SO.
Are you trying to save on typing?
Are you trying to save on typing?
I am trying to help you, really, even if it doesn't always seem that way