implementing singleton pattern in python. the singleton pattern is a creational pattern that ensures that only one object of a particular class is ever created. all further references to objects of ...