library. I cannot seem to
locate it on Github repository.
Thanks in advance,
Ben
___
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32
Jacob,
What you are looking at is called a thread pool. The simple case you
have now is that you start a thread whenever there is work to do
(playing a sound). The thread does this work, then exits. A thread
pool means you have a set number of threads idling and receiving work
via a queue. When wo
On Wed, Aug 31, 2011 at 8:38 AM, Steffen Frömer
wrote:
> Hello,
>
> i try to check, if a file on network-share is read only. I tried different
> ways.
Not the prettiest, but if you want to know if the SHARE is read only,
you can do a functional test.
import os, tempfile
def check_write(filename
On Fri, Mar 18, 2011 at 9:40 PM, Randy Syring wrote:
>
> On 03/18/2011 08:21 PM, Ben Timby wrote:
>>
>> I would suggest looking at Samba. This would help you solve two problems.
>>
>> 1. Transporting files to the Linux server.
>> 2. The ACL issue, you can u
On Fri, Mar 18, 2011 at 5:28 PM, Randy Syring wrote:
> I'm working on a backup solution using the ZFS file system. The idea is
> somewhat like rdiff-backup, except that the backup tool doesn't need to
> worry about versioning, compressiong, or deduplicating the files. ZFS will
> handle compressi
No problem Tim. I am not a Windows developer so I barely know what I
am talking about.
I am in fact NOT in a windowed environment. I have a background
process that is spawned by a GUI that I want to kill gracefully. I am
trying to emulate the pattern that I use on Linux:
os.kill(pid, signal.SIGTE
IIUC, WndProc receives messages from the message pump. I am attempting
to override the default message handler with my own. The code I posted
is a contrived example. So really, I am not interested in the
correctness of it, but why does the call to SetWindowLong() fail the
way it does when I call it
I am using pywin32 214 on Windows XP 32 bit. I am calling SetWindowLong like so:
--
import win32api, win32con
def fun():
print 'fun'
h = win32api.GetCurrentProcess()
win32api.SetWindowLong(h, win32con.GWL_WNDPROC, fun)
--
But receiving:
TypeError: Unable to convert function to pointer-size
> I have generally been getting better results using winreg than using WMI,
> but even Winreg (or config problems on our server) are causing me
> problems. For example I'd use this code to find out if a certain
>
I'm beginning to think this is because of 32 vs 64 bit, because the server
running
Hello
I have generally been getting better results using winreg than using WMI, but
even Winreg (or config problems on our server) are causing me problems. For
example I'd use this code to find out if a certain security update is installed
across all our servers:
def KB958644(OS, servername):
an't work out a fix, do you
have any idea of what could be going wrong?
-Ben
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
ent in
VBA/VB (VB requires an explicit CType call), without the need to lookup
CLSIDs/IIDs.
Thanks again,
-Ben
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
nt not found" error.
All I know about InterfaceB is that it is probably a Collection or
derived from a Collection. I've read somewhere about issues with
"dependent typelibs." Is this what I'm coming up against? Any ideas?
Many thanks,
-Ben
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
Hi all,
I have been using Python just for two weeks, and I feel very comfortable
with it. The only stumbling blocks is on learning to build gui with pywin
(pythonwin). Is there any good tutorials or good documentations out there ?
(I can not find any good one on the internet). I really appreciate
x27;" %
(repr(self), attr)
AttributeError: '' object has no
attribute 'SetValue'
Is it possible to set string properties? If so, what am I doing wrong?
Thanks for your help!
Cheers,
Ben
class IPanScriptTFOSlice2(DispatchBaseClass):
"""PanScript TF
to trap
the problem automatically when occurs, so something
automated can happen when this occurs.
Thanks
Ben
___
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail
http://uk
16 matches
Mail list logo