RE: python COM example?

2001-07-06 Thread Mark Hammond
There are no tutorials other than what you have found in your distribution, and in Andy and my "Programming Python on Win32" book. Unfortunately, events aren't convered in the book, so your best bet is to trawl google for comp.lang.python postings. Mark. > -Original Message- > From: Seu

python COM example?

2001-07-06 Thread Seung Chan Lim
Hi, I looked a some of the tutorial scripts that came with activestate python, but I was wondering if I could get some more tutorial on it. Specifically, I'd like to know how I can do something I can do rather easily in VC++ like inheriting the IDispatch method and regsitering connection points wi

Reove unsubscribe

2001-07-06 Thread VISWANATHAN IYER
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. ___ ActivePython mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/activepython

RE: function declarations

2001-07-06 Thread Wade Leftwich
> Do I have to define a function before it is used? Yes. > If so, is there a way to declare the function but define it at > the end of my > source file? > def main(): fun1() fun2() def fun1(): ## do something def fun2(): ## do something else if __name__ == '__

function declarations

2001-07-06 Thread David Ransier
Do I have to define a function before it is used? If so, is there a way to declare the function but define it at the end of my source file? Thanks, David R David Ransier [EMAIL PROTECTED] Office: 503-416-3812 111 SW 5th Ave. Fax:

Re: popen usage

2001-07-06 Thread Phil Harris
Arthur, If you mean to add the second readline then the script already has that, I'd shortened the script for clarity. The problem is that it doesn;'t get past the first readline. Someone has responded off-list so I'll try his suggestions first before anymore questions. Thanks anyway. Phil -