Google Groups

Re: [sage-support] Re: %cython failing in notebook because of accessing the wrong directory


Priyanka Kapoor Mar 31, 2012 10:57 PM
Posted in group: sage-support
When I run code :
%cython
cdef hello():
    print 'hello world!'
I got two files , one is html file and another is C file.
Html contents are:
 1:

 2: include "interrupt.pxi"  # ctrl-c interrupt block support

 3: include "stdsage.pxi"  # ctrl-c interrupt block support

 4:

 5: include "cdefs.pxi"

 6: cdef hello():

 7:     print 'hello world!'

I am new to sage. I dont know much about it. Can you clarify now?
Whats the problem in actual?
I also wish to know what is the problem and how  the desired output
hello world will come.


--
Priyanka Kapoor
http://kapoorpriyanka.in
Linux User Group, Ludhiana