Re: [python-win32] win32 meta-topic

2005-12-06 Thread Tim Golden
[John Machin] [... snip intentions of python-win32 list ...] > Thanks, Tim. Maxima mea culpa. I'll pull my head in :-) > Does anyone have any suggestions on what advice to give (a) people who > post from work via e-mail, engendering enormous disclaimers (b) possibly > over-sensitive folk who a

[python-win32] How to get win32com events .. in my main class?

2005-12-06 Thread Laurent Dufréchou
Hello, I'm currently trying to use event from a win32 application using it's COM interface. To connect to the application I use: #main class class MyApp_InterfaceManager (Thread): ... def run (self): # First we initialize the COM libraries for current thread pythoncom.CoInitialize()

[python-win32] python - visualbasic integration

2005-12-06 Thread Amit Antebi
We want to combine Visual Basic with Python. GUI will be in VIsual basic. Computation Engine will be in python. Which architecture do you recommend:   1.  COM  - who will be client and who server, and why? 2.  Python API - access the python from VB using the python API. 3.  Is there

[python-win32] Problems running Python 2.1 and ArcView 9.1

2005-12-06 Thread deborah r
Hello all, I'm hoping some of you may be able to help me since I'm getting nowhere with ESRI tech support on this matter. I was trying to run very simple scripts in Python 2.1 (e.g., create a folder) but Python would crash every time. Someone at ESRI suggested I add the line: gp.SetProduct("ArcV

Re: [python-win32] Problems running Python 2.1 and ArcView 9.1

2005-12-06 Thread Kevin Ceder
Deborah, I've done quite a bit of work with Python and ArcGIS but have not run into this issue and have noticed a couple of things in the ArcGIS install, namely that ESRI does not to a full install of Python. It appears that the interpreter commandline help is not installed as well as the "th

[python-win32] Re: How to get win32com events .. in my main class?

2005-12-06 Thread Roger Upole
The class instance that's passed to your dispatch class methods is actually the original COM object, so you ought to be able to set an attribute on it to communicate that the event was called. In other words, in your OnHalt method, add something like self.OnHaltCalled=True, and then you can check

Re: [python-win32] python - visualbasic integration

2005-12-06 Thread bob
At 03:18 AM 12/6/2005, Amit Antebi wrote: We want to combine Visual Basic with Python. GUI will be in VIsual basic. Computation Engine will be in python. Which architecture do you recommend:   1.  COM  - who will be client and who server, and why? 2.  Python API - access the python from VB using

Re: [python-win32] python - visualbasic integration

2005-12-06 Thread Mark Hammond
Certainly COM would work.  In this case your VB EXE would use CreateObject to create a Python implemented object.  In response to GUI events, the VB code can call Python methods and use the results.  For debugging, you should find any of the professional IDE packages that support remote proc

Re: [python-win32] Python-win32 Digest, Vol 33, Issue 7

2005-12-06 Thread Tony C
>>Certainly COM would work.  In this case your VB EXE would use CreateObject>>to create a Python implemented object. As what type of Python Object?I have the VB6 ide open, and the references Browser as well, there is no generic Python object to include into a VB project. Which means one would have

Re: [python-win32] Python-win32 Digest, Vol 33, Issue 7

2005-12-06 Thread Mark Hammond
> >>Certainly COM would work. In this case your VB EXE would use CreateObject > >>to create a Python implemented object. > As what type of Python Object? > I have the VB6 ide open, and the references Browser as well, > there is no generic Python object to include into a VB project. > Which mean

Re: [python-win32] *** Spam *** Re: Python-win32 Digest, Vol 33, Issue 7

2005-12-06 Thread Steve Holden
Mark Hammond wrote: Certainly COM would work. In this case your VB EXE would use > > CreateObject > to create a Python implemented object. > > >>As what type of Python Object? > > >>I have the VB6 ide open, and the references Browser as well, >>there is no generic Python object to in