On Mar 13, 2:16 am, Steven D'Aprano <[EMAIL PROTECTED]>
wrote:
> I'd be interested in hearing people's stories of Eureka moments in Python,
> moments where you suddenly realise that some task which seemed like it
> would be hard work was easy with Python.
>

The day I wrote a CORBA method intercepter in 8 lines of code using
__getattr__ to catch 2 or 3 interesting method calls out of 20 or 30
defined in the IDL.  The interesting methods I handled, and the rest I
just forwarded to the remote CORBA object.  Unfortunately, the client
expected this to be an expensive job, and I was only able to bill him
for 1/2 an hour (I had to test the code in addition to writing it).

-- Paul

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to