Re: Windows - window status (Running vs Not Responding)

2008-04-12 Thread rdahlstrom
On Apr 11, 11:18 pm, Ross Ridge <[EMAIL PROTECTED]> wrote: > rdahlstrom <[EMAIL PROTECTED]> wrote: > >Basically, I'm looking for something similar to the Process.Responding > >property in System.Diagnostics... > > You probably want to use IsHungAppWindow()

Re: Windows - window status (Running vs Not Responding)

2008-04-11 Thread rdahlstrom
On Apr 11, 1:45 pm, rdahlstrom <[EMAIL PROTECTED]> wrote: > Does anyone know how to determine the window status (Running or Not > Responding)? I've tried various methods with no success... > > This would be on a variety of Windows systems, but all at least XP, > and mos

Windows - window status (Running vs Not Responding)

2008-04-11 Thread rdahlstrom
Does anyone know how to determine the window status (Running or Not Responding)? I've tried various methods with no success... This would be on a variety of Windows systems, but all at least XP, and mostly server 2003. Everyone will have Python 2.5.1 on them, and the script would be running loca

Re: CTypes, 64 bit windows, 32 bit dll

2008-04-01 Thread rdahlstrom
On Apr 1, 2:03 am, Tim Roberts <[EMAIL PROTECTED]> wrote: > rdahlstrom <[EMAIL PROTECTED]> wrote: > >On Mar 31, 12:53 pm, "mimi.vx" <[EMAIL PROTECTED]> wrote: > >> On Mar 31, 4:22 pm, rdahlstrom <[EMAIL PROTECTED]> wrote: > > >>

Re: CTypes, 64 bit windows, 32 bit dll

2008-03-31 Thread rdahlstrom
On Mar 31, 12:53 pm, "mimi.vx" <[EMAIL PROTECTED]> wrote: > On Mar 31, 4:22 pm, rdahlstrom <[EMAIL PROTECTED]> wrote: > > > > > So I have a 64 bit Windows 2003 system, running python 2.5.1.1. > > > I can import a Windows .dll (msvcrt or whatever

Re: CTypes, 64 bit windows, 32 bit dll

2008-03-31 Thread rdahlstrom
On Mar 31, 10:22 am, rdahlstrom <[EMAIL PROTECTED]> wrote: > So I have a 64 bit Windows 2003 system, running python 2.5.1.1. > > I can import a Windows .dll (msvcrt or whatever) using ctypes, but > when attempting to import another application-specific .dll (tibrv.dll > if an

CTypes, 64 bit windows, 32 bit dll

2008-03-31 Thread rdahlstrom
So I have a 64 bit Windows 2003 system, running python 2.5.1.1. I can import a Windows .dll (msvcrt or whatever) using ctypes, but when attempting to import another application-specific .dll (tibrv.dll if anyone is familiar with it), I receive the error WindowsError: [Error 193] %1 is not a valid

Re: Windows - remote system window text

2008-02-05 Thread rdahlstrom
On Feb 5, 3:54 am, Tim Golden <[EMAIL PROTECTED]> wrote: > Gabriel Genellina wrote: > > En Mon, 04 Feb 2008 17:25:00 -0200, rdahlstrom <[EMAIL PROTECTED]> > > escribió: > >> On Feb 4, 2:17 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: &

Re: Windows - remote system window text

2008-02-04 Thread rdahlstrom
On Feb 4, 2:50 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I can understand that. But look at the bright side, you don't have to > rely on windows authentication, you just need an open port. Now i > don't know what you are building, but with a client/server setup you > can also get to othe

Re: Windows - remote system window text

2008-02-04 Thread rdahlstrom
On Feb 4, 2:17 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Well, i guess you will need a process on each machine you need to > monitor, and then you do have a client server setup. > > This can be easily accomplished with fx Pyro (http:// > pyro.sourceforge.net/) for communication, and the

Re: Unexpected timing results with file I/O

2008-02-04 Thread rdahlstrom
It doesn't matter how many doors opening and closing there are, it matters the order in which the opening, walking through, and closing are done. That's my point. In the second example, all of the disk operations are done at the same time. That's what I meant by people going through the doors.

Re: Unexpected timing results with file I/O

2008-02-04 Thread rdahlstrom
On Feb 4, 1:12 pm, Carl Banks <[EMAIL PROTECTED]> wrote: > On Feb 4, 12:53 pm, rdahlstrom <[EMAIL PROTECTED]> wrote: > > > > > On Feb 4, 10:17 am, Steven D'Aprano <[EMAIL PROTECTED] > > > cybersource.com.au> wrote: > > > After readin

Windows - remote system window text

2008-02-04 Thread rdahlstrom
OK - I know how to get the text/title of the windows on a local system by using the window handle. What I want to do is to get the text/ title of the windows on a remote system. Enumerating the window handles will of course not work remotely, I know that. Does anyone know anything short of a cli

Re: Unexpected timing results with file I/O

2008-02-04 Thread rdahlstrom
On Feb 4, 10:17 am, Steven D'Aprano <[EMAIL PROTECTED] cybersource.com.au> wrote: > After reading an earlier thread about opening and closing lots of files, > I thought I'd do a little experiment. > > Suppose you have a whole lot of files, and you need to open each one, > append a string, then clos

Re: Tibco Rendezvous

2007-07-18 Thread rdahlstrom
Sent you an email - have you found anything else on this? I'm not all that familiar with ctypes, and am having a little trouble getting started with this. Anything I could use just to get started would be fantastic - I can go from there. Thanks! On Jul 13, 1:43 pm, "Kip Lehman" <[EMAIL PROTECTE

Re: web page text extractor

2007-07-13 Thread rdahlstrom
To maintain paragraphs, replace any p or br tags with your favorite operating system's crlf. On Jul 13, 8:57 am, kublai <[EMAIL PROTECTED]> wrote: > On Jul 13, 5:44 pm, Paul McGuire <[EMAIL PROTECTED]> wrote: > > > > > On Jul 12, 4:42 am, kublai <[EMAIL PROTECTED]> wrote: > > > > Hello, > > > > Fo

Tibco Rendezvous

2007-07-13 Thread rdahlstrom
Has anyone found or written a Tibco Rendezvous (tibrv) module for Python? I've only found some really old ones with German documentation and not updated since some time around 2000. -- http://mail.python.org/mailman/listinfo/python-list