Re: [python-win32] Newbee question

2007-08-21 Thread Pham, Hien
TED] [mailto:[EMAIL PROTECTED] On Behalf Of RANDALL HOWELL Sent: Monday, August 20, 2007 3:53 PM To: [email protected] 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 =

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 s

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 n

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 > e

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

[python-win32] Newbee question

2007-08-20 Thread RANDALL HOWELL
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 paid, I get paid $8.80 for the f

Re: [python-win32] Newbee

2005-12-09 Thread David Rock
* Don Freeman <[EMAIL PROTECTED]> [2005-12-08 15:23]: > Hello all. Is this list a suitable place to ask for help on totally simple > issues for an absolute beginner? If not can someone direct me to a better > place for some simple help? Nope, this is exactly the right place. > Example: > I know

[python-win32] Newbee

2005-12-09 Thread Don Freeman
Hello all. Is this list a suitable place to ask for help on totally simple issues for an absolute beginner? If not can someone direct me to a better place for some simple help?   Example: I know there are functions to parse a filespec string and return the path or filename or extension, but

[python-win32] Newbee problem on dispatch interface

2005-06-20 Thread Johannes Brunen
Hi, I have a problem connecting to a COM server with a small test script using python 2.3.5 as well as 2.4.1: import win32com.client from win32com.client import gencache def main(): g1 = gencache.EnsureModule('{9C3BB401-114D-11D4-AC72-00105A4925FC}', 0, 1, 3) theCADdy = win32com.clie