[python-win32] win32com: HTTP Post with WebBrowser.Navigate()

2005-08-26 Thread Troy Farrell
Hello List! I am trying to use win32com to automate Internet Explorer. I am able to instanciate my COM object, and even control IE, but using WebBrowser.Navigate() to execute an HTTP POST request fails; the browser always makes a GET request. The MS KB article on doing this with VB is here:

[python-win32] process listing without COM/WMI

2005-08-26 Thread mark mclarnon
I am in serious need of the ability to query the list of running process to check and see if an EXE (that I choose) is running under Python 2.4.1. I found an example to do this at the following url: http://tgolden.sc.sabren.com/python/wmi_cookbook.html and a similar example that uses

[python-win32] process listing without COM/WMI

2005-08-26 Thread Roger Upole
Here's a post from a few months back with some code to do that. http://mail.python.org/pipermail/python-win32/2005-February/002943.html Roger mark mclarnon wrote: I am in serious need of the ability to query the list of running process to check and see if an EXE (that I choose) is

Re: [python-win32] Installing a Python script as service

2005-08-26 Thread Roger Upole
The intent is to register the service to run in debug mode if you're currently running a debug build. By convention, pyd's and exe's have _d appended to them for a debug build, so you'd have win32service_d.pyd. It would be more reliableto use os.path.splitext and check that the last 2 chars

Re: [python-win32] Installing a Python script as service

2005-08-26 Thread Mark Hammond
Oops - I missed the original - thanks Roger! I've now changed that check to: if os.path.splitext(win32service.__file__)[0].endswith("_d"): Mark -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Roger UpoleSent: Saturday, 27 August 2005 11:51