Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > COM & Python

Reply
Thread Tools

COM & Python

 
 
Anand K Rayudu
Guest
Posts: n/a
 
      04-19-2004
Hi all,

I want to use python with COM extension. I am successful using python as
client.
I could interact to my application through COM interfaces from python.

I also want to use the win32ui layer, which wrapped all MFC user
interface functionality.
I am just wondering if some on can guide me with some documentation on
using them.
I want to know how the call backs are handled in particular.
Any sample code will be a great start for me.
If this is possible I can create any dialog boxes with any controls from
python itself!!
And take advantage of MFC's View , scroll view and so on. Just exciting!!

Thanks in advance,
Anand




 
Reply With Quote
 
 
 
 
Larry Bates
Guest
Posts: n/a
 
      04-19-2004
Get a copy of
Python Programming on Win32 By Mark Hammond, Andy Robinson

This is the best starting point for you.

Larry Bates
Syscon, Inc.

"Anand K Rayudu" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi all,
>
> I want to use python with COM extension. I am successful using python as
> client.
> I could interact to my application through COM interfaces from python.
>
> I also want to use the win32ui layer, which wrapped all MFC user
> interface functionality.
> I am just wondering if some on can guide me with some documentation on
> using them.
> I want to know how the call backs are handled in particular.
> Any sample code will be a great start for me.
> If this is possible I can create any dialog boxes with any controls from
> python itself!!
> And take advantage of MFC's View , scroll view and so on. Just exciting!!
>
> Thanks in advance,
> Anand
>
>
>
>



 
Reply With Quote
 
 
 
 
Anand K Rayudu
Guest
Posts: n/a
 
      04-22-2004
Hi Larry,

Thanks for the suggestion, I have gone through the book, but
unfortunately nothing much is discussed about this topic.
Being new to MFC i am finding it difficult to get started.
I want to just create a dialog box, with my own controls and get the
python call backs for them.
can some one please share some example source code or any experience
regarding this.
Any help will be a great start point for me.

Regards,
Anand


Larry Bates wrote:

>Get a copy of
>Python Programming on Win32 By Mark Hammond, Andy Robinson
>
>This is the best starting point for you.
>
>Larry Bates
>Syscon, Inc.
>
>"Anand K Rayudu" <(E-Mail Removed)> wrote in message
>news:(E-Mail Removed)...
>
>
>>Hi all,
>>
>>I want to use python with COM extension. I am successful using python as
>>client.
>>I could interact to my application through COM interfaces from python.
>>
>>I also want to use the win32ui layer, which wrapped all MFC user
>>interface functionality.
>>I am just wondering if some on can guide me with some documentation on
>>using them.
>>I want to know how the call backs are handled in particular.
>>Any sample code will be a great start for me.
>>If this is possible I can create any dialog boxes with any controls from
>>python itself!!
>>And take advantage of MFC's View , scroll view and so on. Just exciting!!
>>
>>Thanks in advance,
>>Anand
>>
>>
>>
>>
>>
>>

>
>
>
>



 
Reply With Quote
 
David Fraser
Guest
Posts: n/a
 
      04-22-2004
What about http://www.onlamp.com/pub/a/python/e...pythonwin.html
(from that book)?
Or have you tried wxPython (not COM but great)?

David

Anand K Rayudu wrote:
> Hi Larry,
>
> Thanks for the suggestion, I have gone through the book, but
> unfortunately nothing much is discussed about this topic.
> Being new to MFC i am finding it difficult to get started.
> I want to just create a dialog box, with my own controls and get the
> python call backs for them.
> can some one please share some example source code or any experience
> regarding this.
> Any help will be a great start point for me.
>
> Regards,
> Anand
>
>
> Larry Bates wrote:
>
>>Get a copy of
>>Python Programming on Win32 By Mark Hammond, Andy Robinson
>>
>>This is the best starting point for you.
>>
>>Larry Bates
>>Syscon, Inc.
>>
>>"Anand K Rayudu" <(E-Mail Removed)> wrote in message
>>news:(E-Mail Removed)...
>>
>>
>>>Hi all,
>>>
>>>I want to use python with COM extension. I am successful using python as
>>>client.
>>>I could interact to my application through COM interfaces from python.
>>>
>>>I also want to use the win32ui layer, which wrapped all MFC user
>>>interface functionality.
>>>I am just wondering if some on can guide me with some documentation on
>>>using them.
>>>I want to know how the call backs are handled in particular.
>>>Any sample code will be a great start for me.
>>>If this is possible I can create any dialog boxes with any controls from
>>>python itself!!
>>>And take advantage of MFC's View , scroll view and so on. Just exciting!!
>>>
>>>Thanks in advance,
>>>Anand
>>>
>>>
>>>
>>>
>>>
>>>

>>
>>
>>
>>

>

 
Reply With Quote
 
Anand K Rayudu
Guest
Posts: n/a
 
      04-22-2004
Dear David,

Thanks a lot for the link, Actually that is same from the book.
I am trying to provide a "Rapid Application Development Environment"
for the application I am developing through python.
The reason I Want to stick on to pythonwin is , it comes as a default
with python extension for windows.
Also that my application is based on MFC, it looks like pythonwin is a
natural fit for me.
I can get same look & feel as the other dialog boxes.
My developers have good experience on MFC.

I will try out wxPython also & see.
For me it looks like pythonwin is a preferred option.
Thanks again,
Anand





David Fraser wrote:

> What about
> http://www.onlamp.com/pub/a/python/e...pythonwin.html
> (from that book)?
> Or have you tried wxPython (not COM but great)?
>
> David
>
> Anand K Rayudu wrote:
>
>> Hi Larry,
>>
>> Thanks for the suggestion, I have gone through the book, but
>> unfortunately nothing much is discussed about this topic.
>> Being new to MFC i am finding it difficult to get started.
>> I want to just create a dialog box, with my own controls and get the
>> python call backs for them.
>> can some one please share some example source code or any experience
>> regarding this.
>> Any help will be a great start point for me.
>>
>> Regards,
>> Anand
>>
>>
>> Larry Bates wrote:
>>
>>> Get a copy of
>>> Python Programming on Win32 By Mark Hammond, Andy Robinson
>>>
>>> This is the best starting point for you.
>>>
>>> Larry Bates
>>> Syscon, Inc.
>>>
>>> "Anand K Rayudu" <(E-Mail Removed)> wrote in message
>>> news:(E-Mail Removed)...
>>>
>>>
>>>> Hi all,
>>>>
>>>> I want to use python with COM extension. I am successful using
>>>> python as
>>>> client.
>>>> I could interact to my application through COM interfaces from python.
>>>>
>>>> I also want to use the win32ui layer, which wrapped all MFC user
>>>> interface functionality.
>>>> I am just wondering if some on can guide me with some documentation on
>>>> using them.
>>>> I want to know how the call backs are handled in particular.
>>>> Any sample code will be a great start for me.
>>>> If this is possible I can create any dialog boxes with any controls
>>>> from
>>>> python itself!!
>>>> And take advantage of MFC's View , scroll view and so on. Just
>>>> exciting!!
>>>>
>>>> Thanks in advance,
>>>> Anand
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>>
>>>

>>




 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: [Python-Dev] [python-committers] [RELEASED] Python 3.2 rc 1 R. David Murray Python 0 01-17-2011 02:23 PM
Re: [Python-Dev] [python-committers] [RELEASED] Python 3.2 rc 1 Senthil Kumaran Python 0 01-17-2011 10:31 AM
Re: [Python-Dev] [Python-3000] RELEASED Python 2.6a1 and 3.0a3 Martin v. L÷wis Python 0 03-01-2008 10:51 PM
Re: [Python-Dev] [Python-3000] RELEASED Python 2.6a1 and 3.0a3 Paul Moore Python 0 03-01-2008 10:39 PM
Searching comp.lang.python/python-list@python.org (was: UTF-8) skip@pobox.com Python 0 03-10-2007 02:50 PM



Advertisments