need arises that an object must be protected from direct use by its clients there is need that an object creation for the real subject class can be delayed to point when it is actually required some of the real world examples as described by allapplabs and userpages of proxy pattern arewebsite where the cache proxy can cache certain set of frequently requested web pages to cater to clients requests this helps in avoiding many requests getting hit on the server and improves performance the message box which gives the status of file copy operation giving the progress in terms of percentage completion opening large file in word processor leads to message saying --please wait while the software opens the document | sample python implementation example description based on the example from prof kiranlet us consider case of regular office situation wherein order to speak to sales manager of companythe client makes call first to the receptionist of the sales manager office and then the receptionist passes the call to the manager in this casesales manager would be the subject to whom the client wants to speak to and the receptionist would be the proxy that shields the subject from talking directly to the clients expanding this examplewe could consider 'sales manageras the real subject and create common subject class referred to as 'managersfrom which 'sales managerand the 'receptionistcan be derived python code import time class manager(object)def work(self)pass def talk(self)pass class salesmanager(manager)def work(self)print "sales manager working www testingperspective com