Re: [python-win32] Array and CATIA

2007-08-20 Thread jelle
Hi Andread, I think Thomas Paviot managed to deal with this issue. He developed a plugin for catia which is open source. If you download this, it might be of help for you dealing with this issue. Cheers, -jelle ___ python-win32 mailing list

Re: [python-win32] Newbee question

2007-08-20 Thread Tim Roberts
RANDALL HOWELL wrote: I am trying to figure out how to code my stop pay. I get paid 40 cents a stop for the first 22 stops, and $1.40 for stops after that. stops = 24 if stops 22: stopPay = stops * .4 else: stopPay = stops * 1.4 print stopPay 33.6 well thats not

Re: [python-win32] Newbee question

2007-08-20 Thread Michael March
This is a python-win32 specific question? On 8/20/07, RANDALL HOWELL [EMAIL PROTECTED] wrote: I am trying to figure out how to code my stop pay. I get paid 40 cents a stop for the first 22 stops, and $1.40 for stops after that. stops = 24 if stops 22: stopPay = stops * .4 else:

[python-win32] EnumChildWindows

2007-08-20 Thread Radu Ciora
Hi everyone, can anyone give me an example of use of win32gui.EnumChildWindows() function as I can't seem to make it work: my code looks like this: ... win32gui.EnumChildWindows(l_hwnd, self.windowEnumerationHandler(), l_childlist) ... def windowEnumerationHandler(hwnd, resultList):

Re: [python-win32] Newbee question

2007-08-20 Thread Roel Schroeven
RANDALL HOWELL schreef: I am trying to figure out how to code my stop pay. I get paid 40 cents a stop for the first 22 stops, and $1.40 for stops after that. stops = 24 if stops 22: stopPay = stops * .4 else: stopPay = stops * 1.4 print stopPay 33.6 well thats not how I get

[python-win32] Q: error when using win32print via apache: null context handle

2007-08-20 Thread Kevin Cole
Hi, This falls under the myopic-leading-the-blind department. ;-) I'm helping a friend who wants to have his web site send something directly to his printer when a web form is submitted. We're working with Windoze XP, Apache2, and Python 2.4. He has two printers, one directly connected and

Re: [python-win32] Newbee question

2007-08-20 Thread Jim . Vickroy
- Original Message - From: RANDALL HOWELL [EMAIL PROTECTED] Date: Monday, August 20, 2007 1:53 pm Subject: [python-win32] Newbee question I am trying to figure out how to code my stop pay. I get paid 40 cents a stop for the first 22 stops, and $1.40 for stops after that. stops = 24

Re: [python-win32] EnumChildWindows

2007-08-20 Thread Tim Roberts
Radu Ciora wrote: Hi everyone, can anyone give me an example of use of win32gui.EnumChildWindows() function as I can't seem to make it work: my code looks like this: ... win32gui.EnumChildWindows(l_hwnd, self.windowEnumerationHandler(), l_childlist) That can't be your code. That calls

Re: [python-win32] EnumChildWindows

2007-08-20 Thread Radu Ciora
thanks for the reply Tim but that's how I got the sample from internet. Anyway I changed the code like this: ... win32gui.EnumChildWindows(l_hwnd, self.windowEnumerationHandler(l_hwnd,l_childlist), l_childlist) ... def windowEnumerationHandler(self, hwnd, resultList): ... but now I get the

Re: [python-win32] Q: error when using win32print via apache: nullcontext handle

2007-08-20 Thread Mark Hammond
This falls under the myopic-leading-the-blind department. ;-) I'm helping a friend who wants to have his web site send something directly to his printer when a web form is submitted. We're working with Windoze XP, Apache2, and Python 2.4. He has two printers, one directly connected and

Re: [python-win32] EnumChildWindows

2007-08-20 Thread Tim Roberts
Radu Ciora wrote: thanks for the reply Tim but that's how I got the sample from internet. Anyway I changed the code like this: ... win32gui.EnumChildWindows(l_hwnd, self.windowEnumerationHandler(l_hwnd,l_childlist), l_childlist) That's not what I wrote at all. You need to pass the function,