turning a python script to windows service
kedai
kedai at kedai.com.my
Tue Mar 26 23:14:23 EST 2002
Mark Hammond <mhammond at skippinet.com.au> wrote in message news:<3CA014BC.6090204 at skippinet.com.au>...
>
> When run as a service, the print statements go nowhere useful - they run
> in the background. Try looking up info in win32traceutil - this will
> allow you to see your print statement when running as a service.
thanks for the pointer, and the book too.
i see that print does show up in the traceutil. so it works as a
service.
is there anything special that i need to do if i wanted to do more
stuff; for example, i tried copying files but nothing was copied.
snippet:
os.system('copy file filedst') #instead of print statement
a simple, doing something service example would be good :)
or pointers to docs i should read before asking again
thanks
>
> Mark.
More information about the Python-list
mailing list