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 200
Try PostData=buffer(Data).
hth
Roger
Troy Farrell wrote:
> I've made some progress. I finally coerced IE to POST, but the data it
> posts is ugly binary data, not what I thought I sent in PostData:
>
> ---Begin Python Code---
> import win32com.client
>
> # Prepare Internet Explorer
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 reliable to use
os.path.splitext and check that the last
2 char
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 run
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 GetObject('w
I've made some progress. I finally coerced IE to POST, but the data it
posts is ugly binary data, not what I thought I sent in PostData:
---Begin Python Code---
import win32com.client
# Prepare Internet Explorer
ie = win32com.client.Dispatch( "InternetExplorer.Application.1" )
dURL = "http://se
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:
http