Hello. I got a little problem while using pythoncom to automate IE; for
some reason, changing the 'selectedIndex' on an instance of
IHTMLSelectElement doesn't fire the 'onchange' event (I guess this is a
bug in mshtml).
So, I tried to get the 'onchange' event handler and call it myself.
Accord
Bo Peng a écrit :
> Dear list,
>
> I have not done a thorough test, but it occurs to me that
>
> 1. python code can be interrupted by Ctrl-C.
> 2. A C module, if I add a main() function and run independently, can be
> interrupted by Ctrl-C.
> 3. If I load the C module in python and run, the prog
fraca7 a écrit :
> Steve Holden a écrit :
>
>> [Thinks: or maybe fraca7 just meant that integers will be garbage
>> collected when there are no more references to them].
>
> Actually I meant that the memory is reused, but the same integer won't
> always have
Steve Holden a écrit :
> [Thinks: or maybe fraca7 just meant that integers will be garbage
> collected when there are no more references to them].
Actually I meant that the memory is reused, but the same integer won't
always have the same address.
I guess that in your example, t
Suresh Jeevanandam a écrit :
> # I am new to python.
>
> In python all numbers are immutable. This means there is one object ( a
> region in the memory ) created every time we do an numeric operation. I
> hope there should have been some good reasons why it was designed this way.
The memory all
arkestra a écrit :
> I am writing a script that interacts with the computer screen.
>
> Is there a module (either built in or add on) that would allow the
> script to manipulate the mouse pointer ? -- eg right click, move two
> pixels to the right, left click etc?
Under Windows, see the SendInpu
JackPhil a écrit :
> the problem is i can run the service in debug mode, and it seems works
> fine(i can connect the server with browser), but when i start the
> service in the services control panel, i can't connect the server, the
> server seems not start, and i can't stop the service.
Make sur
Richie Hindle a écrit :
> [Peter]
>
>>http://www.pick.ucam.org/~ptc24/yvfc.html
>
>
> [Jeff]
>
>>Yuma Valley Agricultural Center?
>>Yaak Valley Forest Council?
>
>
> I went through the same process. My guess is "Yes, Very F'ing Clever."
> Peter?
>
print ''.join(map(lambda x: chrord(x)
David Duerrenmatt a écrit :
> Is there a way to use old pyd files (Python 1.5.2) with a newer version
> of Python without recompiling them?
No. In general, incrementing the middle version number means that the
Python C API has changed in an incompatible manner. There are some
exceptions (2.2 mo
[EMAIL PROTECTED] a écrit :
> Now when my socket thread detects an incoming message, I need my main
> thread to interpret the message and react to it by updating the GUI.
> IMO the best way to achieve this is by having my socket thread send a
> custom event to my application's event loop for the m
[EMAIL PROTECTED] a écrit :
> Anyway, if anyone could make a definite statement on whether threads
> are safe from unwanted garbage collection, that'd be really great.
> Thanks in advance for any helpful replies!
As far as I know, the threading module keeps a reference around for each
thread, un
mhenry1384 a écrit :
> I am trying to run a program and filter the output on Windows XP.
> Since I want to filter the output, I'd like to read it a line at a time
> and only print the lines I care about.
> [snip]
I had the exact same problem yesterday. This is an obvious use case for
the "bufsiz
[EMAIL PROTECTED] a écrit :
> Actually, take a look in the distribution at Misc/gdbinit. In particular,
> check out the pystack command.
Wow, nice! This will be put to good use, thanks :)
--
http://mail.python.org/mailman/listinfo/python-list
derrick a écrit :
> are there any tools / methods that others have used to get what line of
> the python script is being executed while running in gdb? or if it would
> actually show me the source python script (instead of the the python c
> source) that would help.
I don't think so, but when hav
Tim Peters a écrit :
> All versions of Windows >= Win95 use threads heavily, have very solid
> thread support, and the Win32 API was thread-aware from the start
> Thread _scheduling_ is pretty bizarre <= WinME, but process scheduling
> is too. Don't try to use hundreds of threads <= WinME and yo
Leonard J. Reder a écrit :
> [snip]
http://smc.sourceforge.net/
It's probably not what you're looking for, but it's the closest I can
think of.
--
http://mail.python.org/mailman/listinfo/python-list
On Mon, 30 May 2005 20:56:22 +, Roel Schroeven wrote:
> You haven't looked very well though: there are actually quite a lot of
> extra spaces. Still, it's nicely done indeed.
C-u M-q ?
--
http://mail.python.org/mailman/listinfo/python-list
gabor a écrit :
> [snip]
Try this:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/65203
--
http://mail.python.org/mailman/listinfo/python-list
David a écrit :
> [snip]
> CC=g++
So actually your 'initutm' is '_Z7initutmv' for the linker. Try building
with gcc instead, or declaring
extern "C" PyMODINIT_FUNC initutm(void);
or something like that.
--
http://mail.python.org/mailman/listinfo/python-list
On Tue, 19 Apr 2005 08:03:15 -0700, Lucio Torre wrote:
> Do you have any experience on PODS? The whole thing is based on
> Codewarrior and Codewarrior for palm is dead.
Nope. Actually, I'm kind of reluctant to use IDEs and it seems PODS is
targeted towards Eclipse users; I'd rather use prc-tools
On Fri, 15 Apr 2005 16:40:05 -0700, [EMAIL PROTECTED] wrote:
> Hello,
> While talking with Facundo while in a PyAr meeting (python-argentina,
> http://www.python.org/ar ) he told me that there is some interest in
> this platform.
You bet there is. i almost bought a Pocket PC instead of my Clié T
[EMAIL PROTECTED] wrote:
Is it possible to have low level netwoking with python under Windows?
Like raw sockets?
Is it possible to send a single packet using python under windows?
Yes. But be aware of restrictions on raw sockets in XP SP2:
http://blogs.msdn.com/michael_howard/archive/2004/08/12/213
Michael Hoffman wrote:
Enjoy ;)
That's not the exact word that first came to my mind :)
--
http://mail.python.org/mailman/listinfo/python-list
On Tue, 15 Mar 2005 12:25:02 -0800, Brandon J. Van Every wrote:
> Last I looked, 2 years ago?, there were no compiled, open source lisps that
> ran on Windows. Has this changed?
I don't think so. I recently (about 2 months ago) started to want to learn
Lisp (didn't go far for now) and wanted to
On Tue, 15 Mar 2005 14:54:18 -0500, Bill Mill wrote:
> On Tue, 15 Mar 2005 22:24:52 +0100, Fraca7 <[EMAIL PROTECTED]> wrote:
>> Hello.
>> It's not quite clear from the chart; I'd like to know if it's kosher to
>> announce the creation of a Python-ori
Hello.
It's not quite clear from the chart; I'd like to know if it's kosher to
announce the creation of a Python-oriented blog on
comp.lang.python.announce ?
TIA
--
There's no trick to being a humorist when you have the whole government
working for you.
-- Will Rodgers
--
http
Jonathan Fine a écrit :
Paul Rubin wrote:
As I recall, some posts to this list say that Windows provides
non-blocking i/o for sockets but not for files.
No, Windows does provide non-blocking I/O for regular files, but it's a
completely different mechanism than the one used by winsock. You'll have
27 matches
Mail list logo