[python-win32] PyCListCtrl.GetItem() across processes

2005-05-10 Thread Michael Maurer
Hello, I am trying to read the contents of a CListCtrl. The control is in a window owned by a non-python process. I can get pretty close but ultimately get a failure from PyCListCtrl.GetItem(). I think it's because the python layer is passing a pointer from its own address space to a different

Re: [python-win32] Python-win32 Digest, Vol 26, Issue 12

2005-05-10 Thread Tony C
Your example didn't try to define the variable, it only attempted to look at it's current value try this >> C:\Tmp>set LANG >> Environment variable LANG not defined C:\tmp> set LANG="SOME_LANGUAGE" set LANG LANG="SOME_LANGUAGE" Message: 5 Date: Tue, 10 May 2005 10:54:13 -0700 From: Tim Rober

Re: [python-win32] win32all-155/genpy/universal incompatibility

2005-05-10 Thread Mark Hammond
> It appears that win32com/client/genpy.py and > win32com/universal.py in win32all-155 are incompatible: > genpy.py/VTableItem.WriteVTableMap writes vtable entries as > six-tuples but > universal.py/Method.__init__ unpacks them as three-tuples. > This manifests itself as an unpack error in > w

Re: [python-win32] Setting environment variables in windows from Python Programs

2005-05-10 Thread Tim Roberts
On Mon, 9 May 2005 16:23:08 -0700, Nalli Dinesh <[EMAIL PROTECTED]> wrote: >This seems very easy, as every programming language provides this. But >I don;t know why I have this not working for me in Python scripts. >The problem: >I am trying to create and set environment variable LANG under wind

Re: [python-win32] Looking for Serial I/O python driver

2005-05-10 Thread Niki Spahiev
Les Novotny wrote: > Hi, > I am looking for a python module for serial I/O such that from python on > windows I can send a sequence of characters out COM1 followed by a > carriage return to an intelligent device (that interprets the data) and > then I need to capture a returned string of character

[python-win32] win32all-155/genpy/universal incompatibility

2005-05-10 Thread Greg Lee
It appears that win32com/client/genpy.py and win32com/universal.py in win32all-155 are incompatible: genpy.py/VTableItem.WriteVTableMap writes vtable entries as six-tuples but universal.py/Method.__init__ unpacks them as three-tuples. This manifests itself as an unpack error in win32com.universa

[python-win32] Looking for Serial I/O python driver

2005-05-10 Thread Les Novotny
Hi, I am looking for a python module for serial I/O such that from python on windows I can send a sequence of characters out COM1 followed by a carriage return to an intelligent device (that interprets the data) and then I need to capture a returned string of characters that comes back from the dev

Re: [python-win32] (no subject)

2005-05-10 Thread eric . powell
Mark- The example application I am working from does the following (but never actually does a CreateObject with the dll):  ' set up the input   Dim pConv As New SRS_CONLib.Point2D   pConv.x = CDbl(m_sX)   pConv.y = CDbl(m_sY)   pConv.Projection = m_inProj   ' check to see if the range is valid

Re: [python-win32] Setting environment variables in windows from Python Programs

2005-05-10 Thread Paul Moore
On 5/10/05, Nalli Dinesh <[EMAIL PROTECTED]> wrote: > Folks, > This seems very easy, as every programming language provides this. But > I don;t know why I have this not working for me in Python scripts. > The problem: > I am trying to create and set environment variable LANG under windows > from P