Re: beginner questions on embedding/extending python with C++

2006-08-09 Thread Hoop
Hi All, I am in the process also of trying to call Python script from a C++ windows app. I have looked at the Boost site and am currently reading over the Embedding portion of the tutorial. A question I have is that there appear to be about 4 or 5 Boost items avaiable for download. Which one should

Re: beginner questions on embedding/extending python with C++

2006-08-08 Thread Qun Cao
Thanks for all the good pointers! I am still reading throught them, but Boost seems to be the way to go! Roman Yakovenko wrote: > On 8 Aug 2006 02:28:31 -0700, Qun Cao <[EMAIL PROTECTED]> wrote: > > Hi Everyone, > > > > I am a beginner on cross language development. My problem at hand is to > > bu

Re: beginner questions on embedding/extending python with C++

2006-08-08 Thread Qun Cao
Thanks Diez, It is a good relief that I only need to wrap the classes I need. I decide to try Boost first because it seems to have a wider audience than SIP, but I would definately look into SIP if I want to do Qt development in the future. Diez B. Roggisch wrote: > > Since the main program is s

Re: beginner questions on embedding/extending python with C++

2006-08-08 Thread Ben Sizer
Qun Cao wrote: > Hi Everyone, > > I am a beginner on cross language development. My problem at hand is to > build a python interface for a C++ application built on top of a 3D > game engine. The purpose of this python interface is providing a > convenient scripting toolkit for the application. As

Re: beginner questions on embedding/extending python with C++

2006-08-08 Thread Roman Yakovenko
On 8 Aug 2006 02:28:31 -0700, Qun Cao <[EMAIL PROTECTED]> wrote: > Hi Everyone, > > I am a beginner on cross language development. My problem at hand is to > build a python interface for a C++ application built on top of a 3D > game engine. The purpose of this python interface is providing a > con

Re: beginner questions on embedding/extending python with C++

2006-08-08 Thread Diez B. Roggisch
> Since the main program is still going to be the C++ application, I > guess we need to embedding the python scripts in the C++ code. So at > initialization stage, the python script needs to be loaded into the C++ > code. And this code can be simple, like > player = Player() > game.loadPlayer(pla

beginner questions on embedding/extending python with C++

2006-08-08 Thread Qun Cao
Hi Everyone, I am a beginner on cross language development. My problem at hand is to build a python interface for a C++ application built on top of a 3D game engine. The purpose of this python interface is providing a convenient scripting toolkit for the application. One example is that a user c