On 08/08/2011 17:09, Mitch Oliver wrote:
Try:
%TEMP%\gen_py\2.x\...
That seemed to contain some dummies, but I was able to locate files
that had content in site-packages\win32com\gen_py. After deleting the
contents of this directory and regenerating only WMI Scripting and
WMICntl the code
Hi All,
I am trying to speed up a bit a new widget I created for wxPython, which
uses heavily the COM interface between Python and Excel (it only reads Excel
data, no writing).
One of the main issues I have found is related to the extraction of the
Text property from a range of cells. Let's
I did some more hunting around and now have the following:
hscm =
win32service.OpenSCManager(None,None,win32service.SC_MANAGER_ALL_ACCESS)
try:
hs = win32serviceutil.SmartOpenService(hscm, cls._svc_name_,
win32service.SERVICE_ALL_ACCESS)
try:
service_failure_actions = {
This is a shot in the dark, but if you are on python 2, then:
'RebootMsg': '',
'lpCommand': '',
Is two strings, not unicode. Maybe:
'RebootMsg': u'',
'lpCommand': u'',
--
Randy Syring
Intelicom
Direct: