I filed a github issue (#1331), but reading through the other issues, it
became apparent I should use this mailing list instead. Here is a synopsis
of the problem (cut and paste from the github issue).
- Expected behavior and actual behavior.
using Python 2.7.5 for 32-bit Windows, using pywi
w where to
get started.
Thanks for any pointers you can provide.
- Tom
___
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32
Have you tried spawning "pythonw.exe" instead of "python.exe"?
http://bugs.python.org/issue3905 might help you.
A bit of googling suggests this is a recurring issue with subprocess and
non-windowed applications.
On Wed, Jun 19, 2013 at 3:20 PM, Patrick Tisdale
wrote:
> I can get rid of the shel
On 10 January 2013 18:48, Tom Bowles wrote:
>
> On 10 January 2013 17:15, Aahz wrote:
>>
>> On Thu, Jan 10, 2013, Tom Bowles wrote:
>> >
>> > Hi, I have a question regarding python finalisation when using pywin32.
>> > The details are at
>>
On 10 January 2013 17:15, Aahz wrote:
> On Thu, Jan 10, 2013, Tom Bowles wrote:
> >
> > Hi, I have a question regarding python finalisation when using pywin32.
> > The details are at
> >
> http://stackoverflow.com/questions/14257654/how-should-i-or-should-i-fina
d I'm posting this from a phone. Hope the stackoverflow link
is acceptable.
Thanks,
Tom
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
it__
> self._handle = _dlopen(self._name, mode)
>WindowsError: [Error 193] %1 ist keine zul?ssige Win32-Anwendung
For the benefit of anyone without German the last line of that
translates as '%1 is not a valid Win32 application'.
Tom Hawkins
Principal Scientist
Innospec In
Sorry to interject here but I have a question along the same vein:
If I have a script (in this case that interacts with Word through
win32com.client) with statements like this:
doc.ActiveWindow.Selection.BoldRun()
doc.ActiveWindow.Selection.TypeText(_type)
doc.ActiveWindow.Selection.BoldRun()
Does
Hi,
Using PythonWin with InDesign,
"The type info can not be loaded " when browsing the Adobe Type Library,
Any idea how to fix this ?
Thanks for your help,
Thomas
___
python-win32 mailing list
python-win32@py
Hi,
I want to use Python to automate InDesign,
There is very little help on that subject !
I would like to use some of the sample scripts provided in the InDesign
Sripting documentation,
So I translate them from VBScript to Python which is ok except there are some
parts written in JavaScript a
Hi,
I have Python 3.2.2 and pyWin32 build 216 :
I have the same issue already mentionned here :
http://mail.python.org/pipermail/python-win32/2008-August/008093.html
I just can't get the code right,
Is there any update that would fix that bug ?
Me and Tim started to email each other directly, here are the messages for
anyone who is interested.
~Tom
-- Forwarded message --
From: Tom
Date: Fri, Aug 26, 2011 at 12:04 PM
Subject: Re: [python-win32] Issue with inserting Microsoft Excel charts into
Word
To: Tim Golden
reason why this might
be happening?
~Tom
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
se()
will read the entire contents of the text file into the Python variable
filetext.
If you just want to get the word count of this text, you don't need to
use a loop, by the way - you can get it from:
wordcount = len(filetext.split())
Tom Hawkins
Principal Scientist
Innospec Inc
Te
le.txt",
FileFormat:=wdFormatText
Again these examples are for Word 2003.
PS Profuse apologies for quoting the entire digest in my last message!
Tom Hawkins
Principal Scientist
Innospec Inc
Tel: +44 (0)151 356 6197
Fax: +44 (0)151 356 6112
<>
eans a mix of both bold and non bold as far as I can tell).
Does anyone have any experience doing anything similar to this, or can
anyone give me a simpler way to do this?
~Tom
___
python-win32 mailing list
python-win32@python.org
http://mail.python.o
Thanks for all the replies - it's now working fine with ? (after some
delay caused by testing with a single parameter query but forgetting
that the parameter has to be supplied as a single-member list)...
Tom
Tom Hawkins
Principal Scientist
Innospec Inc
Tel: +44 (0)151 356 6197
#x27;, 'bar'))
...I get:
dbi.program-error: [Microsoft][ODBC SQL Server Driver][SQL
Server]Incorrect syntax near 's'. in EXEC
Any idea what I'm doing wrong please? Apologies if I've missed something
stupid. I get the same error if I only specify one of the
I have the same problems and googled a lot but just found Sunny Carter's
requests with no solution. Is there any, yet?
Thanks!
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
ule.
ifmod = win32com.client.gencache.GetModuleForTypelib(typelibCLSID, lcid,
major, minor)
is it as simple as:
pyobj = ifmod.InterfaceClassName(dyobj._oleobj_)
is there a way to list the names in the gencache?
ie..
'Word.Application'
'Excel.Application'
how do you get the guid f
of a scheduled job
within the Win32_ScheduledJob call or via the wmi interface? The way I am
doing it right now, I could have simply called schtasks.exe directly and had it
create the process with the intended run user, which I don't find very eloquent.
Tom
_
Much obliged. Worked like a champ, but you already knew that! ;-)
Tom
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
Much obliged. Worked like a champ, but you already knew that! ;-)
Tom
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
7; failed with exit status 2
I have vs2003 installed (for python 2.5.1), plus just downloaded and
installed the latest platform sdk from (
http://www.microsoft.com/downloads/details.aspx?FamilyId=A55B6B43-E24F-4EA3-A93E-40C0EC4F68E5&displaylang=en#filelist
).
Any ideas? I'm purely after the ISA
let me know once you have a build available, I am running python
2.5.1 (32 bit), but would also require an amd64 build if possible?
Thanks,
Tom
On Mon, Feb 25, 2008 at 3:50 PM, Mark Hammond <[EMAIL PROTECTED]>
wrote:
> > Actually there is no such fc.SetHeader() function ...
>
&
on is for writing an HTTP response value (200,
302 etc), and not for actually setting an HTTP header.
Another thought I had was keeping a reference to the PREPROC notification
structure, and then calling SetHeader() on it inside the AUTHENTICATION
notification - do you think this might work?
Thank
; server process (another python program) has died, and if
so restarts it. Is this some weird issue with using sleep within the service's
main method? If so, how can I get round this problem?
I'm using pywin 2.0.4 and python 2.4.3
Thanks for any help anyone can give :-)
Tom
there should be a way to coax
correct values out of this since Python is cabable of getting the correct
IDs.
Any help is appreciated.
Thanks,
--Tom
With carefully-arranged electrons, Mark Hammond wrote:
> Unfortunately, the dynamic dispatch and makepy utilities don't get the
> correct
Great! Works a treat! I think I'll go with the run under system account
option.
Tom
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Roger Upole
Sent: Wednesday, March 02, 2005 7:49 PM
To: python-win32@python.org
Subject: [python-win32] Re: win32pr
ername for each process?
Thanks, Tom
-------
Tom Haddon
Equilar, Inc.
1710 South Amphlett Boulevard
Suite 312
San Mateo, CA 94402
650-286-4528 (phone)
650-286-4513 (fax)
[EMAIL PROTECTED]
CONFIDENTIALITY NOTICE:
This is a transmission from Equilar, Inc.
Sorry, a little quick on the trigger there.
I have it working as below (as you can see this is just testing code).
I'm now having trouble retrieving the name of the process. I'm trying:
win32process.GetModuleFileNameEx(handle, )
The module handle is escaping me. I've tried using the
win32con.P
Hi Roger,
I tried both of these but was getting the following messages. Is there any way
of confirming which parameter it's refering to? Could it be my "process"
parameter?
Thanks, Tom
Traceback (most recent call last):
File "C:\test\memusage.py"
y it looks like my problem is in getting the process
handle...
Thanks, Tom
import win32process
import win32api
class WinProcesses:
def __init__(self):
pass
def listprocesses(self):
for process in self.proclist():
try:
han = win32api.OpenProces
33 matches
Mail list logo