interfacing Python interpreter with a VB6 frontend

Steve Holden steve at holdenweb.com
Wed Oct 3 13:36:33 CEST 2007


Anonymous wrote:
> 
> Ryan Ginstrom wrote:
> 
>>> On Behalf Of Anonymous
>>> This requires several steps, but the one I am having most 
>>> problem finding info on is the ff:
>>>
>>> 1. using/interacting the Python interpreter from VB6
>>
>> One way to do this might be by creating a COM server with Python, and having
>> VB feed it lines of text and then collect results of execution for display.
>>
>> win32com has demos of COM servers.
>>
>> --
>> Regards,
>> Ryan Ginstrom
>>
> 
> Hi Ryan, do you have a link to the resources you mentioned?. I did a 
> search for win32com - and found this : 
> http://python.net/crew/mhammond/win32/FAQ.html  (most of the links were 
> either dead, or refrerred to using COM from within Python - i.e. the 
> OTHER way round).

You might also want to pick up a copy of Hammond and Robinson's 
"Programming Win32 in Python", which discusses various ways of 
front-ending Python programs with VB interfaces.

regards
  Steve
-- 
Steve Holden        +1 571 484 6266   +1 800 494 3119
Holden Web LLC/Ltd           http://www.holdenweb.com
Skype: holdenweb      http://del.icio.us/steve.holden

Sorry, the dog ate my .sigline




More information about the Python-list mailing list