Determining method type given its string name presentation and its corresponding object reference.

2005-07-31 Thread Apple
Hi I am a bit new to python. I was wondering if there is a way to determine whether or not a given string is a member method of a given object: def is_a_method(self, attr_name): 'returns True if attr_name is an instance method of self; false otherwise' The problem is that I have overridden

Re: Determining method type given its string name presentation and itscorresponding object reference.

2005-07-31 Thread Apple
"or perhaps callable(getattr(obj, strg, None)) if the need is related to an unknown string which may be a callable attribute of an object whose class is unknown ..." Hm.. the problem is I cannot call getattr() at all. Because getattr() will call my __repr__() which will call another m() that will

Help wanted in piping in Windows

2005-06-23 Thread Apple Grew
executing the readline() part in a seperate thread be helpful? My target platform is Windows. Links to helpful web resources and sample Python codes will be highly appreciated. Regards, Apple -- http://mail.python.org/mailman/listinfo/python-list

Help me to log-in

2005-06-23 Thread Apple Grew
Well can anyone tell me how do I login into newsgroup using Mozilla 1.7.7. What should be the username? (I tried with with my e-mail address I subscribed with but failed to log-in). The password asked during log-in is the one I subscribed with? -Apple -- http://mail.python.org/mailman

Re: Boss wants me to program

2005-06-27 Thread Apple Grew
I think since speed is not such an issue (I heard that python can make faster GUI programs) you should use Visual Basic. It is very well suited for Windows programming. There is the good thing that you can visually create the GUI hence it is easier to create the GUI. [EMAIL PROTECTED] wrote: