Andreas Otto wrote
about his attempts to install and run Cython:
> 5. and start to build the hello world example
>
>I changed: print "Hello World"
>to: print("Hello World")-> this is V3
AFAIK Cython doesn't support Python 3, yet. See
http://trac.cython.org/c
Andreas Otto wrote:
> just my first step in Cython
>
> 1. download Cython-0.11.1
>
> 2. read INSTALL.txt
>
> <
> (1) Run the setup.py script in this directory
> as follows:
>
> python setup.py install
>
> This will install the Pyrex package
> into your Pyt
Andreas Otto wrote:
> alex23 wrote:
>> Did you unpack the Cython archive correctly? Is there a Shadow.py in
>> your src/Cython-0.11.1/Cython/ folder?
>
> yes
dev1...@linux02:~/ext/x86_64-suse-linux/thread/bin/Cython-0.11.1> ls -al
Cython/Shadow.py
-rw-r--r-- 1 dev1usr users 4130 3. Apr 10:52 Cy
alex23 wrote:
> On Apr 17, 4:22 pm, Andreas Otto wrote:
>> Question 1: Why you wall it "Pyrex" package ?
>
> From the first paragraph on the Cython site: "Cython is based on the
> well-known Pyrex, but supports more cutting edge functionality and
> optimizations."
>
>> >python ./setup.py instal
On Apr 17, 4:22 pm, Andreas Otto wrote:
> Question 1: Why you wall it "Pyrex" package ?
>From the first paragraph on the Cython site: "Cython is based on the
well-known Pyrex, but supports more cutting edge functionality and
optimizations."
> >python ./setup.py install
>
> Traceback (mos
Hi,
just my first step in Cython
1. download Cython-0.11.1
2. read INSTALL.txt
<
(1) Run the setup.py script in this directory
as follows:
python setup.py install
This will install the Pyrex package
into your Python system.
<
Question
Andreas Otto wrote:
> the problem with such kind of framework is usually
> that you start with the easy stuff and than (after a couple
> of days/weeks) you come to the difficult stuff and you
> have to figure out that this kind of problem does not
> fit into the tool.
That is a very comm
Andreas Otto wrote:
> I want to make a language binding for an existing C library
>
> http://libmsgque.sourceforge.net
>
> is this possible ?
Quoting the third paragraph on Cython's homepage (i.e. the link I posted):
"""
This makes Cython the ideal language for wrapping external C li
it is possible to write C and python code into the
same file ?
Not as such.
And JNI is an atrocity, btw.
But what you can do (if you have a pure C-API, no C++) is to completely
ditch the C from the equation and go for ctypes. This allows you to
easily wrap the C-functions i
Yes, you are right ...
I read more and found the doc about this ...
the problem I have is something more tricky ...
I allready have an extension written for java
and the easyest thing would be use this as template
and replace the java specific calls with python calls ...
but the pyt
On Apr 16, 2009, at 1:53 AM, Andreas Otto
wrote:
Hi,
I want to make a language binding for an existing C library
http://libmsgque.sourceforge.net
is this possible ?
--
Not only is itpossible, it's pretty common. All of the major GUI
toolkits do this. Look at www.swig.org if
Hi,
I want to make a language binding for an existing C library
http://libmsgque.sourceforge.net
is this possible ?
--
http://mail.python.org/mailman/listinfo/python-list
Andreas Otto wrote:
> I have the following question ...
>
> I write a custom "*.init" method and expect a variable number or arguments
What's a "*.init" method? Do you mean SomeType.__init__() ?
> This are my questions:
>
> 1.I need something like a for loop to analyse this argumen
13 matches
Mail list logo