. There is the pyHook package, but I don't know if it is still
being developed.
http://www.cs.unc.edu/Research/assist/developer.shtml
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
___
python-win32 mailing list
pyth
nt Bytes None 307200.0
System Driver Total Bytes None 9097216.0
System Driver Resident Bytes None 1380352.0
System Cache Resident Bytes None 102354944.0
% Committed Bytes In Use None 30.9728680693
Available KBytes None 288832.0
Available MBytes None 282.0
C:\tmp>
--
Tim Ro
Mark Hammond wrote:
> On 30/03/2011 11:01 AM, Tim Roberts wrote:
>> Wolfgang Rohdewald wrote:
>> I agree with your conclusion. However, this isn't a Python-Win32
>> issue. You need to file a bug report against Python itself.
> it would be good to know exactly what v
nclusion. However, this isn't a Python-Win32
issue. You need to file a bug report against Python itself.
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
Tony Wallace wrote:
> I have no reason to build from source. Where do I get this
> precompiled installation?
http://sourceforge.net/projects/pywin32/files/pywin32/Build216/
If I read your messages right, you are running Python 2.5, so you want
pywin32-216.win32-py2.5.exe.
--
Tim Robe
a more recent Python (version 2.6 is now built with Visual Studio 2008)
or go find VS2003.
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
at you've tried. The fact that you posted to the
[python-win32] list suggests that you already know about the PyWin32
package, which adds virtually complete access to the Win32 API. Are
there APIs you need that weren't present?
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide,
in text but I
> can’t find anything to do that.
>
Add:
import win32con
newMail.BodyFormat = win32con.olFormatHTML
newMail.HTMLBody = "CIAO!"
All I did was go to the MSDN page on the CreateItem method of the
Outlook.Application object.
--
Tim Roberts, t...@probo.c
ur computer, which in found in the registry.
Theoretically, you ought to be able to rewrite that key to a browser
command that brings up your webmail page, or to an application that does
the same thing. Check HKCU\Software\Clients\Mail or
HKLM\Software\Clients\Mail.
--
Tim Roberts, t...@probo
on code that shows how to do it:
http://windows-privesc-check.googlecode.com/svn-history/r10/trunk/windows-privesc-check.py
Check "get_extra_privs" about half-way through. You can simplify it a
little bit, since you are looking for exactly one privilege.
--
Tim Roberts, t...@pro
thods are within 1% of each other -- sometimes the dict
is slightly faster, sometimes the list is slightly faster. Thus, for
all practical purposes, they are identical. I'm surprised. That means
you should use the one that makes sense to you.
--
Tim Roberts, t...@probo.com
Pr
would be faster yet:
counter = [0]*256
for bytes in open('c:\\temp\\16.jpg', "rb").read():
counter[ord(bytes)] += 1
for key,cnt in enumerate(counter):
print '%d: %d,' % (key,cnt),
--
Tim Roberts, t...@probo.com
Providenza & Boek
n a dialog.
This is the same problem we used to refer to as "small fonts / large fonts".
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
altogether
and go back to a simpler way of life, where having the files in
\Windows\System32 is enough for everyone.
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
l paper stock, instead of selecting the envelopes in the
multi-purpose tray. It required two or three hours of fairly intense
hacking before I figured out a recipe to make it work again. If I had
not previously been a GDI driver developer, I doubt that I could have
figured out the DEVMODE magic t
uter's time. I paid for 4GB of memory in my computer.
Memory that is not being used is simply being wasted.
I still do most of my programming in C++ because I like having control,
but there is nothing wrong with .NET.
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
___
t very painful.
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
hat's a very good point, and it nearly caused me to abort my
original reply. The fact that you were able to create an object at all
suggests that there may be a COM implementation of these objects. The
difficulty will be figuring out how they can be used. All of the
Googling I did led o
rallel interface available for COM apps, but there's
not necessarily any relationship between their object models.
Do you have an example that shows Dynamics being used from a non-managed
COM application?
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
__
Value API, and you should even be able to do this
from Python. If you set fAsynchronous to false, it blocks until
something in the key changes, then returns to you.
If you are hoping to monitor the entire registry, that requires the
assistance of a kernel driver.
--
Tim Roberts, t...@pr
converted to hg for all of my personal work. I use only the
command-line tools -- I haven't installed the tortoise stuff either.
"git" just seemed to be too much of a lifestyle commitment. You're
really working with a lot of details that seemed unnecessary to me.
I haven't ha
se pywin32's amply documented COM
facilities to do it. If it doesn't, then you'll have to inject
keystrokes using the API, exactly like you would if you were writing
this in C.
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
n crashed inside somewhere inside MFC, which is
Microsoft's GUI framework. What are you doing when it crashes?
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
ich
is open to SQL injection attacks.
The only time you should be using Python's % substitution with SQL is
when you need to supply table or field names, and even then you need to
be careful if the names came from user input. Any time you are
supplying a data value, you should ALWAYS us
arameter substitution styles allowed by the Python dbapi
specification. The Win32 odbc module uses ? characters instead of %s.
A simple search-and-replace should solve your problem.
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
___
the right location. Did you get and run the pywin32
installer? What command did you use to call "setup.py"? In a properly
installed system, win32com will live in
\Python27\lib\site-packages\win32com.
Are you running a 32-bit system or a 64-bit system? Did you install
32-bit Python or 64
Tim Roberts wrote:
> Brad Buran wrote:
>> When I generate the interface file for a COM object using makepy, it
>> generates an incorrect signature for one of the methods:
>>
>> def ReadTag(self, Name=defaultNamedNotOptArg,
>> pBuf=defaultNamedNotOptArg, nOS
to fix the signature or 2) finding a more comprehensive list of the
> actual constant the type codes corresponds to.
Do you have the SDK? The master list is in the header file WTypes.h.
The VT codes are a bit field -- the low 12-bits are the type code, and
the bits a
s no ODBC
Access driver installed.
Have you tried ADODB and direct DAO access? Both of them can be used
with Access, although again without the runtime, I think you're in trouble.
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
ace is important for you. The
32-bit Python works perfectly well on 64-bit systems.
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
Naveen Garg wrote:
> Is it possible to use win32com without setting up registry keys ?
A COM server can only be accessed through the registry. So, if you are
writing a COM server, then you must create registry keys.
--
Tim Roberts, t...@probo.com
Providenza & Boekelhei
said window? Currently I am using FindWindow, but I am not very
> happy searching for the window by it's title,
I'm voting for a named event.
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
___
python-win32 mailing lis
to
communicate with Lotus, with some kind of cross-process scheme to pass
requests between you and the other process.
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
he GIL is to say "I
hereby promise I won't be interpreting any Python code until I reacquire
the lock". If you could do that from Python code itself, you would
create a singularity that will suck in the solar system.
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, In
hear "high performance," I start to wonder whether
Python is really the right choice. How much performance do you need?
WSAAsyncSelect is a pretty snazzy way to deal with a socket server, and
I suspect it could be adapted here without much trouble.
--
Tim Roberts, t...@pro
swer is to turn your COM server into an "out
of process" COM server. That way, instead of a DLL, you will have an
EXE which will run in a separate process. I do not know how to do that
with PythonCOM. Hopefully, Mark will chime in here with a helpful
suggestion.
--
Tim Roberts, t.
hon COM support isn't going to know how to create a
wrapper for this. If you need to return a new object, then that object
should be a Python COM object as well.
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
___
python-win32 mailing
that the cad give to me :
> Automation error 0x4005
> any idea on how to survive from this error ?
That error code (0x80004005) is the very unhelpful E_FAIL.
Does ThinkDesign have its own scripting language? Is it already set up
to use late-bound COM objects? Do you possibly have a 32-bit/64-bi
k.WSAAsyncSelect(s, hWnd, wMsg, lEvent)
>
Yes, indeed. I think that sock.socket.fileno should get you the socket
handle for the first parameter.
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
as a reserved word. If you're in SQL
Server 2005 or above, "TEXT" is no longer recommended as a data type.
You're supposed to use VARCHAR(MAX).
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
___
python-win32 mailin
bits that I previously set using
> SetWindowLong() are indeed set?
I think you're going to feel foolish when you hear the answer. The fact
that SetWindowLong exists should suggest rather strongly that there must
be a GetWindowLong. And, in fact, there is.
win32gui.GetWindowLong(han
dle, 0, 128, win32con.LWA_ALPHA)
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
lly, is figuring
out how to map the C++ calls into Python. After you read up on those
objects, that's where we on this list can be of use. Show us what
you've tried, tell us what doesn't work, and we can offer suggestions.
--
Tim Roberts, t...@prob
ure what you expect the "if ie:" to do there. I believe a COM
object will always return True in Python.
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
ifted values by R positions ;)
I actually did consider including a Bayesian search in my original post,
but decided it muddied the waters too much. I was more or less trying
to give the original poster something to start thinking about.
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc
tching element (call it R)
3. Compare L+1 and R+1 until you find a mismatch -- that's the current
"largest" match.
4. Repeat from 2 to see if you can find a longer match.
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
___
Marc-Andre Belzile wrote:
> Hi,
>
> I'd like to be able to attach an OpenGL context to a Canvas. Can PyOpenGL and
> pyGUI work together?
PyGUI already includes OpenGL support.
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
_
ghter weight.
To know more, you should download both and try them.
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
Dahlstrom, Roger wrote:
> Sure there is, autologon!
Ah, but if one uses autologon, then it is no longer the case that "no
one is logged in", so I think my comment is still valid...
;)
--
Tim Roberts, t...@probo.com
Providenza &
way to run a
GUI application when no one is logged in, without delving deep into
Windows magic. You will need to modify (or patch) the application.
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
___
python-win32 mailing list
python-
,nViewID)
>
> To me it looks like win32 is not getting the information about the
> variable types from com.
Sure it is. The type code 16387 is VT_I4 + VT_BYREF, which means a
4-byte integer passed by reference.
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
__
, through painful and creative use of CreateProcessAsUser,
to create a process as the user that is running on the primary visible
desktop. Here's more information, although I don't really think it
solves your problem:
http://msdn.microsoft.com/en-us/library/ms683502.aspx
--
Tim Robe
ows
to display their controls. They treat the entire window as a blank
canvas, and use their own internal scheme to display the text. You
can't use a window message to read the visible part of a Word document.
To control Word, you'd have to use COM. That opens up an entirely new
c
objects.
You should investigate either SetSecurityInfo or SetNamedSecurityInfo.
Both of those will do the propagation automatically.
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.o
er bytes you send it, so you just need to create a
Python string with that character. You can do:
telnetlib.Telnet.write( chr(27) )
or
telnetlib.Telnet.write( "\x1b" )
(1B being the hexadecimal value of 27 in decimal)
--
Tim Roberts, t...@probo.com
n XP.
Is it possible it has been minimized? Do you see a small window at the
lower left? Have you tried Window->Cascade or Window->Tile?
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
___
python-win32 mailing list
python-w
, so it should not be a problem.
Here's another option. It is not well known that the newer versions of
"depends" have a trace mode. You can launch an executable from inside
"depends", and it will trace all of the DLL loads and unloads. That
might tell you somethin
th cmd.exe and "dir", or
> depends.exe?
Yes, although "depends" should be smart enough to find it, assuming you
have a 32-bit executable. If your root executable is 64-bit, then you
will need to install a 64-bit Python. Unlike the 16/32 days, there is
no thunking. A 64-bi
p a command
shell and see where the file really lives. If it really lives in system32,
you'll need to move it.
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
the description of those messages carefully.
Remember that you will have to use ReadProcessMemory and
WriteProcessMemory to access the structure.
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
ndaries, so it's very difficult
to control one in another process.
If it is within your own process, you can send an LVM_SETITEMSTATE
message with the appropriate LVITEM structure.
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
___
py
other applications.
COM support is already built-in to Python. If you have the option to
add a COM interface, that's probably the way to go.
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
nize"? Anything you can do from a C
application can be done from Python. If you are searching for
subwindows, you can call the FindWindow API, which accepts titles.
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
___
python
Åsmund Hjulstad wrote:
> 2010/11/9 Tim Roberts :
>> Åsmund Hjulstad wrote:
>>> ...
>>> My latest attempt is
>>>
>>> pisdkcommonlib = ('{76A44786-EBC8-11D3-BDC5-00C04F779EB2}', 0, 1, 0)
>>> win32com.client.makepy.GenerateChildFromTy
> ImportError: No module named IPIAsynchStatus2
>
> Any pointers appreciated. (Or is this possibly a bug?)
A Google search for IPIAsynchStatus2 brings up nothing but your
messages. Are you sure that's spelled correctly?
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, I
e of the
parameter. However, some people lie about their data types when they
make an interface like this. Instead of declaring it a pointer, they'll
declare it as an integer. Makepy isn't omniscient.
Do you have the IDL that describes the function, or a web page
reference? Can you sho
L appears to
> run without error with his MSVC apps. It almost seems CPU-load
> dependent, but I could be imagining that...
I think you're going to need to run the app inside a debugger, and get a
traceback to figure out where in the DLL it is crashing. There are just
too many possibili
I get results:
>
> CustPropMgr.Get2(CustProperty, ValOut, ResValOut)
> File ">", line 2, in Get2
> pywintypes.com_error: (-2147352571, 'Type mismatch.', None, 2)
Those are output parameters. You probably want this:
(ValOut, ResValOut) = CustPropMgr.G
7;s exactly the right way. Calling
time.sleep(0) will release the CPU if there is anyone else waiting.
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
")
> ...
> The VB example shows:
>
> Set pps = New PServer
That's not the same thing. Is that actually "New PPServerClass"?
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
on installed itself. When you did the upgrade,
did you actually run an installer, or did you just copy new files into
place?
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
dowToTop(pwin)
If it is a bug, it is a bug in the Win32 API. This same code also does
not work in a console app written in C.
Use SetForegroundWindow instead of BringWindowToTop. That works.
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
, -2147467259), None)
>
>
>
> So, is there a difference/limitation using the COM interface via
> Python windows extensions and the OLE interface in PERL?
>
The "Views" property is supposed to take a boolean, not a string.
Shouldn't that be False instead of "False"?
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
e very cool, but you have to decide what your model is going to be.
Boost.Python lets you build Python extension modules easily. If you
want your application interface to look like a Python extension module,
then it might make good sense.
--
Tim Roberts, t...@probo.com
Providenza &a
or access violations. So, there's probably some kind
of a wild pointer issue, but we can't tell any more. You'll need to run
it with a debugger, or add a printf trace log.
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
Tim Roberts wrote:
>
> However, I admit that NT security is a twisty maze of little passages,
> all different, so it's quite possible this is just a wrong turn.
And I wonder how many of you are old enough to get the reference in that
sentence...
--
Tim Roberts, t...@probo.
I THINK what you really
want is to add the service logon right ON the local machine FOR this
domain account. You don't want to modify the domain. To do that, I
think you want to specify None as the first parameter to LsaOpenPolicy.
However, I admi
h files
> programmatically for a test?
> what is the underlying cause for the crash?
Can you give us a specific example? Some Windows viruses install a file
system filter to render some files inaccessible, and it's possible to
set file permissions so that you don't have the right
s not connected to the desktop.
Usually, you make something a service because it needs to run even when
no one is logged in (which means before a desktop is even created, which
is why the "no UI" restriction exists). Why does your app need to be a
service?
--
Tim Roberts, t...
t; return self._oleobj_.InvokeTypes(7, LCID, 1, (24, 0), ((11,
> 49),),saveSession )
Curious. 1 means it is a method, (24,0) means that it returns nothing,
and ((11,49)) means that it takes an optional Boolean with a default
value. That should work just as you wrote it.
--
Tim Rob
packages\py2exe\samples\advanced\setup.py for an example of how
this is done.
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
e point that is being dragged. In this case, that
would be a point along the bottom edge of the window. Further, to clear
this "sizing in progress" mode, you need to send a WM_SIZE, where you'll
need to send the size of the window. So, there may be more to this than
you think.
Many COM servers handle this just fine.)
Beyond that, you're just hacking, and you'll need to experiment.
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
pper around the MFC CProgressCtrl
class. You might be able to adapt that to do what you need, although
I'm not sure MFC is any lighter weight than Tkinter.
There is a collection of useful dialogs for non-gui programs called
"easygui.py". Although it doesn't have a progress bar, p
terface to see if there is an
interface like that?
Is this some well-known program? Perhaps one of us can take a look at
the interface.
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
est like that. We are
all unpaid volunteers here. If someone knows the answer, they'll
respond as soon as they read your question. If no one knows the answer,
no one will respond. No one is going to read your message and say "I
think I'll wait until tomorrow to answer this."
d position it to (-900, 100), it is placed on the
left-hand monitor.
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
I tried using CallAfter to have this
happen after the window is displayed, it still didn't work.
Did you copy this from a C example somewhere? Can you tell me where?
Perhaps I can translate it.
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
anyway, it matches the C definition, and it works
in the 64-bit case as well.
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
ns, that your user already has Excel open
doing something else? (Although I don't quite know how that would lead
to this.)
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
mp>assoc .pyw
.pyw=Python.NoConFile
C:\tmp>ftype python.file
python.file="C:\Apps\Python26\python.exe" "%1" %*
C:\tmp>ftype python.noconfile
python.noconfile="C:\Apps\Python26\pythonw.exe" "%1" %*
Your path will probably be di
s.
That's the way internationalization is often done. You have one
resource-only DLL for each language, and the main program looks up
resources there first. But if you want to change what Windows Explorer
shows, then you have little choice other than modifying
onent? It's difficult for me to tell. If it is a GUI
component, then you can't just instantiate it in empty space. You have
to host it inside some GUI application. I see that it is a socket-based
component. If they are using asynchronous socket processing, that also
requires that the
fashion error when
> win32servileutil calls win32service.StartService(hs, None).
I don't see anything immediately wrong with that. You're going to need
to talk to the CherryPy list. They are a good group of people, and they
can confirm that your version numbers are latest and greatest.
. That
means there will be one Python process fielding all of these requests.
If you are creating new instances each time, I would have expected each
one to be its own interpreter, but your evidence suggests otherwise.
--
Tim Roberts, t...@probo.com
Provi
ut any problems. There is a native 64-bit version of
PyWin32, but I've never tried it, mostly because there has never been a
need. Some day..
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
___
python-win32 mailing l
ce what to do. There are messages for
start, stop, and pause, among others. In response to the "start"
message, the Python framework will eventually call SvcRun, which then
calls your SvcDoRun.
Just because Python makes it easy, that doesn't change the way services
work. The
s) or the [8] (meaning FindFiles returned something
unexpected). Perhaps you should add
print win32api.FindFiles(fname)
and see what it returns.
Do you have an extension on your service script?
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
rk share? Services run in a special user account
that doesn't know anything about your network shares.
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
Is it the expected
> behavior ?
>
I'm not sure what you mean by "new scripting engine". Modules are
shared between all interpreters in a single process, but when you call
Py_NewInterpreter, it is supposed to get its own private copy of
sys.modules and sys.path (among several o
501 - 600 of 1400 matches
Mail list logo