Re: [Python-Dev] expy: an expressway to extend Python

2009-08-14 Thread Yingjie Lan
--- On Sat, 8/8/09, Stefan Behnel wrote: > From: Stefan Behnel > Subject: Re: [Python-Dev] expy: an expressway to extend Python > To: python-...@python.org > Date: Saturday, August 8, 2009, 4:55 PM > > More details at http://expy.sourceforge.net/ > > I'm clearl

Re: using expy to extend python

2009-08-05 Thread Yingjie Lan
> From: Wolfgang Rohdewald > Subject: Re: using expy to extend python > To: python-list@python.org > Date: Thursday, August 6, 2009, 3:48 AM > On Thursday 06 August 2009, Yingjie > Lan wrote: > > For more information about expy, please visit its > homepage at: > &g

Re: using expy to extend python

2009-08-05 Thread Wolfgang Rohdewald
On Thursday 06 August 2009, Yingjie Lan wrote: > For more information about expy, please visit its homepage at: > http://expy.sf.net/ looks very interesting, bookmarked. In your example class mate, def rename looks wrong: if malloc fails, the previous name should probably not be replaced by an em

using expy to extend python

2009-08-05 Thread Yingjie Lan
Hi, The expy project provides an express way to extend Python. After some careful considerations, I came up with some reasons for expy (this is not an exhaustive list): (I). WYSIWYG. The expy project enables you to write your module in Python the way your extension would be (WYSIWYG), and

Re: Trying to extend Python with C: undefined reference to `Py_BuildValue'

2008-06-04 Thread Stefan Behnel
[EMAIL PROTECTED] wrote: > I am trying to extend Python with some C code. Have you considered using Cython instead of C? http://cython.org/ Stefan -- http://mail.python.org/mailman/listinfo/python-list

Re: Trying to extend Python with C: undefined reference to `Py_BuildValue'

2008-06-04 Thread spectrumdt
On Jun 4, 4:13 pm, Ivan Illarionov <[EMAIL PROTECTED]> wrote: > Hi! Your C code contains too many errors. I'm lazy to comment them all. > > 2. create 'buildme.py' file with this content: > Thanks for the replies. Maybe I should have read the rest of the guide to extending Python with C before whi

Re: Trying to extend Python with C: undefined reference to `Py_BuildValue'

2008-06-04 Thread Ivan Illarionov
On Wed, 04 Jun 2008 05:57:20 -0700, spectrumdt wrote: > Hello. > > I am trying to extend Python with some C code. I made a trivial > "Hello World" program in C that I am trying to wrap in "boilerplate" for > inclusion in a Python program. But I can't com

Re: Trying to extend Python with C: undefined reference to `Py_BuildValue'

2008-06-04 Thread Christian Heimes
[EMAIL PROTECTED] schrieb: > Can anyone help? I am including Python.h, so why does it not find > Py_BuildValue? Read your error message again. It says the dynamic linker (ld) can't find the name. You have to link against the Python library. Christian -- http://mail.python.org/mailman/listinfo

Trying to extend Python with C: undefined reference to `Py_BuildValue'

2008-06-04 Thread spectrumdt
Hello. I am trying to extend Python with some C code. I made a trivial "Hello World" program in C that I am trying to wrap in "boilerplate" for inclusion in a Python program. But I can't compile the C code. The C compiler cannot find the required function `Py_BuildV

Re: using boost to extend python with c++

2007-07-03 Thread Volodya
Please see http://lists.boost.org/boost-build/2007/05/1.php -- the solution is to add "using python ;" to tools/build/v2/user-config.jam. -- http://mail.python.org/mailman/listinfo/python-list

Re: using boost to extend python with c++

2007-05-06 Thread noagbodjivictor
On May 6, 4:12 pm, "mr_gees100_peas" <[EMAIL PROTECTED]> wrote: > Hi, > >I've been trying for days to make either boost.python or swig to > work for me. The one I have gotten the closest to is boost. Note that > this is for windows XP. I'm not much of an unix person besides doing > simple ls an

using boost to extend python with c++

2007-05-06 Thread mr_gees100_peas
Hi, I've been trying for days to make either boost.python or swig to work for me. The one I have gotten the closest to is boost. Note that this is for windows XP. I'm not much of an unix person besides doing simple ls and copy paste. What I have done is to download the boost library: C:\boost

Re: Extend Python

2005-09-03 Thread Jorgen Grahn
On Thu, 1 Sep 2005 19:09:55 +0200, Filip Dreger <[EMAIL PROTECTED]> wrote: >> My Question: >> Swig offers some great features but is to basic for us. Is there >> another program that creates more readble code that can be easily >> edited? How much work is it to write our own wrappers? > > Not too m

Re: Extend Python

2005-09-01 Thread Filip Dreger
> My Question: > Swig offers some great features but is to basic for us. Is there > another program that creates more readble code that can be easily > edited? How much work is it to write our own wrappers? Not too much, and practicaly not at all if you want to wrap procedures (not objects or typ

Re: Extend Python

2005-09-01 Thread Jake Gittes
Try looking at ctypes - http://starship.python.net/crew/theller/ctypes/ On 1 Sep 2005 05:12:21 -0700, [EMAIL PROTECTED] wrote: >Hi All I have a problem with extentions of Python. > >Background: >I'm workin within a large industrial control system and I have created >a Port for VxWorks. In the sys

Re: Extend Python

2005-09-01 Thread Ravi Teja
SIP is not a commercial product and is released on a different license than PyQt. >From the SIP docs (http://www.river-bank.demon.co.uk/docs/sip/sipref.html#license) 1.1 License SIP is licensed under the same terms as Python itself. SIP places no restrictions on the license you may apply to the

Re: Extend Python

2005-09-01 Thread Tommy . Ryding
What is Qt? I have looked at PyQT and I can´t use it. I haven't tried it but the PyQT license makes the program useless. :( Any other suggestions? -- http://mail.python.org/mailman/listinfo/python-list

Re: Extend Python

2005-09-01 Thread tooper
PyQT is using SIP to wrap Qt : looks nice and works great for PyQt which is a quite big wrapping. Never had the occation to use it myself however, except for this. -- http://mail.python.org/mailman/listinfo/python-list

Extend Python

2005-09-01 Thread Tommy . Ryding
Hi All I have a problem with extentions of Python. Background: I'm workin within a large industrial control system and I have created a Port for VxWorks. In the system we have different permissions depending on which state the controller is in. To perform some actions in some states may even injur