Re: pass float array(list) parameter to C

2008-03-17 Thread zaley
On Mar 17, 10:59 pm, [EMAIL PROTECTED] wrote: > You can also do it with ctypes only; too bad it's not really well > documented. c_float is a type of a floating point number and it has * > operator defined, so that c_float*4 is a type of a 4-element array of > those numbers. So if you want to constr

pass float array(list) parameter to C

2008-03-16 Thread zaley
In my program, python is communicated with C use ctypes . I can't find a better way to pass float array(list) parameter to C function. Can someone give me a help? -- http://mail.python.org/mailman/listinfo/python-list

boost and ctypes

2008-02-25 Thread zaley
I am a newbie to python .I know it is easy to access Windows API and DLL using ctypes in python .And it is easy to access python class and function using boost libs in C. Can boost and ctypes work together? -- http://mail.python.org/mailman/listinfo/python-list

Re: Is there a open souce IDE writen by C( C++) or partly writen by C( C++)?

2008-02-25 Thread zaley
On 2月25日, 下午12时02分, Ricardo Aráoz <[EMAIL PROTECTED]> wrote: > zaley wrote: > > On 2月25日, 上午10时35分, Ricardo Aráoz <[EMAIL PROTECTED]> wrote: > >> zaley wrote: > >>>>> So I hope I can find something helpful in open source IDE for python. > >&g

Re: Is there a open souce IDE writen by C( C++) or partly writen by C( C++)?

2008-02-24 Thread zaley
On 2月25日, 上午10时35分, Ricardo Aráoz <[EMAIL PROTECTED]> wrote: > zaley wrote: > >>> So I hope I can find something helpful in open source IDE for python. > >> Exactly so. PyScripter does it easy, besides you can have in different > >> tabs all the modules of

Re: Is there a open souce IDE writen by C( C++) or partly writen by C( C++)?

2008-02-24 Thread zaley
On 2月25日, 上午6时34分, Ricardo Aráoz <[EMAIL PROTECTED]> wrote: > zaley wrote: > > On Feb 24, 6:48 am, Ricardo Aráoz <[EMAIL PROTECTED]> wrote: > >> Lie wrote: > >>> On Feb 23, 4:02 pm, zaley <[EMAIL PROTECTED]> wrote: > >>>> On Feb

Re: Is there a open souce IDE writen by C( C++) or partly writen by C( C++)?

2008-02-24 Thread zaley
On 2月25日, 上午6时34分, Ricardo Aráoz <[EMAIL PROTECTED]> wrote: > zaley wrote: > > On Feb 24, 6:48 am, Ricardo Aráoz <[EMAIL PROTECTED]> wrote: > >> Lie wrote: > >>> On Feb 23, 4:02 pm, zaley <[EMAIL PROTECTED]> wrote: > >>>> On Feb

Re: Is there a open souce IDE writen by C( C++) or partly writen by C( C++)?

2008-02-23 Thread zaley
On Feb 24, 6:48 am, Ricardo Aráoz <[EMAIL PROTECTED]> wrote: > Lie wrote: > > On Feb 23, 4:02 pm, zaley <[EMAIL PROTECTED]> wrote: > >> On Feb 22, 11:06 pm, "Jesper" wrote: > > >>> Give PyScripter fromhttp://www.mmm-experts.com/atry > >

Re: Is there a open souce IDE writen by C( C++) or partly writen by C( C++)?

2008-02-23 Thread zaley
On Feb 23, 5:02 pm, zaley <[EMAIL PROTECTED]> wrote: > On Feb 22, 11:06 pm, "Jesper" wrote: > > > > > > > Give PyScripter fromhttp://www.mmm-experts.com/atry > > > It is for Windows, though it is written in Delphi and not in C/C++ > >

Re: Is there a open souce IDE writen by C( C++) or partly writen by C( C++)?

2008-02-23 Thread zaley
On Feb 22, 11:06 pm, "Jesper" wrote: > Give PyScripter fromhttp://www.mmm-experts.com/a try > > It is for Windows, though it is written in Delphi and not in C/C++ > > /Jesper > > "zaley" <[EMAIL PROTECTED]> skrev i en meddelelsenews:[EMAIL PROTECT

Re: Is there a open souce IDE writen by C( C++) or partly writen by C( C++)?

2008-02-21 Thread zaley
Of course, python scripts debugger On 2月22日, 下午3时22分, zaley <[EMAIL PROTECTED]> wrote: > My project need a simple scripts debugger . I hope I can find > something instructive > > Stefan Behnel 写道: > > > zaley wrote: > > > Is there a open souce IDE writen

Re: Is there a open souce IDE writen by C( C++) or partly writen by C( C++)?

2008-02-21 Thread zaley
My project need a simple scripts debugger . I hope I can find something instructive Stefan Behnel 写道: > zaley wrote: > > Is there a open souce IDE writen by C( C++) or partly writen by C( C+ > > +)? > > Tons of them. What do you want to do with it? > > Stefan -- htt

Is there a open souce IDE writen by C( C++) or partly writen by C( C++)?

2008-02-21 Thread zaley
Is there a open souce IDE writen by C( C++) or partly writen by C( C+ +)? -- http://mail.python.org/mailman/listinfo/python-list

Why the result same as before modifing py files

2008-02-20 Thread zaley
In my C++ program ,python is embeded . I import One module(py file) and execute some functions .Then I modify py files in order to modify func parameters when process is still running .I import the module and execute functions again.But I find the result is same as before -- http://mail.python.or

Py_Finalize ERROR!

2008-02-18 Thread zaley
Py_Finalize ERROR! In my C++ program ,python is embeded . I create one win thread to run embedded Python code . So at the begin of thread function I call "Py_Initialize" and at the end of thread function call "Py_Finalize" . But after I began thread several times,the program crashed in function