Re: [python-win32] Getting pywin32 build number

2005-10-27 Thread Mark Hammond
 Nope, that's it - or you could use win32apiGetFileVersionInfo to check a specific DLL/.pyd.   Mark. -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Justin JohnsonSent: Friday, 28 October 2005 7:43 AMTo: python-win32@python.orgSubject: [pytho

Re: [python-win32] Spawning processes with os module

2005-10-27 Thread Christian Junker
Hi John, 2005/10/27, John Machin <[EMAIL PROTECTED]>: > Would it be possible for us to behold the code that you are using? sure: p = os.spawnv(os.P_NOWAIT, sOffice, cmdArray) exit_status = os.waitpid(p, os.WNOHANG)[1] if exit_status != 0: raise BootstrapException("Could not start %s." % (sOf

[python-win32] Getting pywin32 build number

2005-10-27 Thread Justin Johnson
Is the build number for pywin32 (win32all) available anywhere other than pywin32.version.txt sitting in site-packages?  I want to raise an exception if the wrong version is installed.  I can read this file if needed, but it seems like there should already be a variable or function for getting this.

Re: [python-win32] simulate DoEvents by python/wxpython

2005-10-27 Thread James Hu
Thanks, say there are two threads, one is wxGUI, another is camera, which will send lots of data (1280X1280) to wxGUI, or notify wxGUI by event to retrieve it after a frame of image is ready. If synchronized well, this approach should work as well. James -Original Message- From: [EMAIL P

Re: [python-win32] Spawning processes with os module

2005-10-27 Thread Paul Moore
On 10/27/05, Christian Junker <[EMAIL PROTECTED]> wrote: > I am having difficulty spawning processes with the os.P_NOWAIT and the > waitpid function in the os module. What I simply want to do is to > launch another process along with immediately getting its exit status > in a cross-platform support

Re: [python-win32] simulate DoEvents by python/wxpython

2005-10-27 Thread Tim Roberts
On Wed, 26 Oct 2005 14:10:07 -0400, "James Hu" <[EMAIL PROTECTED]> wrote: >I need to simulate DoEvents in VB by python/wxPython, > >My application needs to capture live image in a loop until one specific >button pressed > >Multi-thread is also not very good solution, for there are big number of

[python-win32] Spawning processes with os module

2005-10-27 Thread Christian Junker
Hi people, I am having difficulty spawning processes with the os.P_NOWAIT and the waitpid function in the os module. What I simply want to do is to launch another process along with immediately getting its exit status in a cross-platform supported way. However the exit status is actually shifted 8

Re: [python-win32] simulate DoEvents by python/wxpython

2005-10-27 Thread James Hu
Thanks a lot! -Original Message- From: Mark Hammond [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 26, 2005 7:16 PM To: James Hu; Python-win32@python.org; python-list@python.org Subject: RE: [python-win32] simulate DoEvents by python/wxpython Build 205 of win32gui does have PeekMessa

Re: [python-win32] Possible bug: what information to provide

2005-10-27 Thread Mark Hammond
> Python interface only invokes method without attributes, when > called without > brackets: > > i.e: "ref.Update()" does not work, while "ref.Update" does invoke correct > _method_ > > The code is not using Makepy, The problem is that the object is being asked to invoke a *property* named Foo, b

Re: [python-win32] Possible bug: what information to provide

2005-10-27 Thread Alex Jouravlev
Hi Mark, Python interface only invokes method without attributes, when called without brackets: i.e: "ref.Update()" does not work, while "ref.Update" does invoke correct _method_ The code is not using Makepy, initial object reference gained via client.Dispatch('name') . I don't think that is wi

[python-win32] Installer Pywin dans open-Office 2.0 ?

2005-10-27 Thread Michel Claveau
Hi! OpenOffice.org_2.0 is arrived (also in french). OO_2 has Python like macro's language. But OO_2 use his embbed Python (release 2.3.4). I had downloaded a release of PyWin for Python2.3. And... How install it ? I use Python 2.4.2, and the package for P_2.3 don't found Python 2.3...