Popular recipes tagged "initialization"http://code.activestate.com/recipes/tags/initialization/popular/2010-04-23T11:27:58-07:00ActiveState Code RecipesSingleton(subclass) with once initialization (Python)
2010-04-23T11:27:58-07:00Dmitryhttp://code.activestate.com/recipes/users/4173772/http://code.activestate.com/recipes/577208-singletonsubclass-with-once-initialization/
<p style="color: grey">
Python
recipe 577208
by <a href="/recipes/users/4173772/">Dmitry</a>
(<a href="/recipes/tags/initialization/">initialization</a>, <a href="/recipes/tags/singleton/">singleton</a>).
</p>
<p>Yet one singleton realization on Python without metaclass. Singleton may has __init__ method which will call only when first object create.</p>