Python Design Patterns (was Re: Should I learn Python or Java?)

Daniel Klein danielk at aracnet.com
Thu Jan 11 22:30:22 EST 2001


On Thu, 11 Jan 2001 20:05:05 -0500, D-Man <dsh8290 at rit.edu> wrote:

> Some things would be implemented quite different in python (such as Singleton)
> due to python's nice dynamic nature.

Since you mention it, what is the pythonic way to implement a Singleton? You
don't have to provide a complete answer, just a pointer as to where to start
would be fine as I like to try to work these things out at first for myself.

Daniel Klein

"If it's not one thing, it's two things."



More information about the Python-list mailing list