RE: dynamic inheritence question

2002-01-29 Thread Stefan Kuzminski
I found it, self.__class__.__bases__ so I dynamically inherit like this.. self.__class__.__bases__ = self.__class__.__bases__ + (Mixin,) pretty nifty, this link helps.. http://starship.python.net/crew/gandalf/DNET/classes/DynamicObject.py.html Stefan -Original Message- From: Jeff

Re: Advanced COM help request

2002-01-29 Thread Matthew
Cancel that.   I did it a different way   :) - Original Message - From: Matthew To: [EMAIL PROTECTED] Sent: Tuesday, January 29, 2002 10:49 AM Subject: Advanced COM help request Hi all,   I hate to do this but my situation is desparate!   Could somo

Re: dynamic inheritence question

2002-01-29 Thread Jeff Shannon
David Ascher wrote: > Stefan Kuzminski wrote: > > > > This is more a general python question, but does anyone know how to modify > > the inheritance of an object ( an actual instance of an object not the class > > definition ) at runtime? i.e. I have > > > > class A: > > > > and > > > > class

Re: dynamic inheritence question

2002-01-29 Thread David Ascher
Stefan Kuzminski wrote: > > This is more a general python question, but does anyone know how to modify > the inheritance of an object ( an actual instance of an object not the class > definition ) at runtime? i.e. I have > > class A: > > and > > class B > > I go along happily.. > > a = A()

RE: Nobody knows? But why?

2002-01-29 Thread Horkoff, Dave
Title: RE: Nobody knows? But why? You could also take a look at the code for the NTML Proxy Server, which is a proxy server writen in python designed to tunnel through an MS proxy server. I've tried it and it works quite well. http://www.geocities.com/rozmanov/ntlm/ Hope this helps give you

RE: Nobody knows? But why?

2002-01-29 Thread Schollnick, Benjamin
>From what I am reading in the Python Documentation (See Index, Proxy, Page 288) You need to use URLLIB2, instead of Httplib, and set the ProxyHandler method... Httplib just does not have the intelligence to deal with proxies, unless my docs have become outdated... It's (httplib) is just th

Nobody knows? But why?

2002-01-29 Thread A
Hi, For already some time I am trying to use modules, HTTPLIB or URLLIB to get a page through proxy but so far I have not been successfull I also browsed Python group but the samples given there did not work. Can anybody give me a WORKING example how I can grab a web page through proxy? I t