2 ms·
> In Python there simply doesn't seem to be a DI/IoC container available. Well, last time I needed something similar on Python, I just loaded the settings from
by marcosdumay 13y ago
> In Python there simply doesn't seem to be a DI/IoC container available.
Well, last time I needed something similar on Python, I just loaded the settings from the database, included the wanted code at runtime, and inserted the desired symbols at the local context. Took a bit more than a day to write, and was very appliction specific, but saved a lot of trouble with those crazy constructors that appear on Java.