Hi,
There are 2 wxPython application, A and B and need to exchange msg.
Sending WM_CLOSE, wxEVT_MOUSEWHEEL to B is OK, and sending user message
like 1225 from A to B is also OK.
But B didn't catch this message, note, B is running before A sends msg
and can receive "WM_CLOSE".
Do I have to make
The only warning I would add here is that you should be aware of the
fact that your watcher thread will block waiting for a change to occur
in the directory; you cannot cancel the blocked ReadDirectoryChangesW
call using the standard pywin32 bindings. We have put together some
patches for ReadDirec
On Wed, 19 Oct 2005 09:51:32 +1000, Kinsley Turner
<[EMAIL PROTECTED]> wrote:
>Hey-ho,
>
>I'm having a problem with some binary data read into a string.
>
>Basically I open an icon file "rb", read() it into a string, then
>spit it back down on a web request for /favicon.ico.
>
>It works fine unde
"Gaspard, Bradley S" wrote:
> Is it possible to access Windows DHCP Client API using Python's win32
> extensions?
> I couldn't find any information on the web.
None of the Dhcp functions are wrapped, but depending on what you're
trying to accomplish, you might be able use use WMI.
The Win32_Netw
Fantastic! That's it exactly.
I was hoping to avoid polling and this shows me how.
Thanks much.
-- jv
Tim Golden wrote:
>[Jim Vickroy]
>
>
>
>>Sorry if this has been previously answered, but my search failed to
>>
>>
>detect it.
>
>
>>Could someone refer to information on how to det
[Jim Vickroy]
> Sorry if this has been previously answered, but my search failed to
detect it.
> Could someone refer to information on how to detect file modification
(e.g., update) events in MS Windows?
Is this the sort of thing you were after?
http://timgolden.me.uk/python/win32_how_do_i/watch
Sorry if this has been previously answered, but my search failed to
detect it.
Could someone refer to information on how to detect file modification
(e.g., update) events in MS Windows?
Thanks,
-- jv
___
Python-win32 mailing list
Python-win32@python.
Is it possible to access Windows DHCP Client API using
Python’s win32 extensions? I couldn’t find any information on the
web.
___
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
[le dahut]
> How can I get the name of a user currently connected on a windows
workstation ? I mean a sort of "whoami".
import getpass
getpass.getuser ()
Or
import win32api
win32api.GetUserName ()
Or
import os
os.environ['USERNAME']
TJG
Hi,
How can I get the name of a user currently connected on a windows
workstation ? I mean a sort of "whoami".
Thanks
___
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
Kinsley Turner wrote:
>
>>>Similarly I have a string with the IBM-extended-ASCII degrees symbol
>>>(ascii 0xb0)
>>>that is read in from a network-connected field device. Somehow this
>
> ends
>
>>>up with
>>>an extended 'A' (with a single dot over it.) prepended before it.
>
>
>>This question
11 matches
Mail list logo