[python-win32] A question about custom command options in win32serviceutil

John Bunting codingjester at gmail.com
Tue Sep 2 19:27:10 CEST 2008


sorry pressed enter too soon....

Am i just setting up a function to parse the arguments and set class
variables? or is it something else!

Sorry for the double email >.<

~John Bunting

On Tue, Sep 2, 2008 at 1:25 PM, John Bunting <codingjester at gmail.com> wrote:

> Hey everyone,
>
> I'm creating a program for my work that will let the users automatically
> connect to a server that we have set up and read some data, etc.
>
> I have been trying to figure out a way to use the win32serviceutil custom
> options to pass some extra arguments for my users.
>
> as far as I understand it, you have to use a custom function (I think) to
> deal with all of your extra arguments that it doesn't recognize.
>
> I would like to be able to apply to my windows class these extra arguments,
> as they will just be used to pass data! is it correct in assuming
>
> that i should probably set it up like this...
>
>
> class service(win32service.ServiceFramework):
>         def __init__(self):
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20080902/c1f65d1a/attachment.htm>


More information about the python-win32 mailing list