Getting started with Cython

287 views
Skip to first unread message

Barrett Brister

unread,
Mar 31, 2015, 10:09:06 AM3/31/15
to spyd...@googlegroups.com
I am running Spyder 2.3.1, and I am attempting to run a Helloworld.pyx file to give Cython a shot. But the "Run" command--the button and F5--does not work. I know that what I'm really trying to do is get this ported into a .c file, but how? How do I get .pyx files up and running?

Martin Durant

unread,
Apr 2, 2015, 10:50:03 AM4/2/15
to spyd...@googlegroups.com
spyder is focused on editing, running and interacting with python code (*.py).
Although you can edit cython (which looks similar but is not python) code, *.pyx, in the editor, you should read the cython tutorials on how to compile these into python extensions and wrappers
e.g., http://docs.cython.org/src/tutorial/cython_tutorial.html#cython-hello-world
Reply all
Reply to author
Forward
0 new messages