On Jun 30, 9:47 am, ibrahim <[EMAIL PROTECTED]> wrote:
> Hello.
>
> Trying to execute the exemple of page 33 : hello.spyx produces this
> error :
>
> Loading of file "/Users/ims/.sage/hello.spy" has type not implemented.
>
> nb : page 33
>
> hello.spyx contains
> def hello(name):
> """
> Print hello with the given name.
> """
> print("Hello %s"%name)
>
> and in sage :
> sage: load "hello.spyx"
> Compiling hello.spyx...
> sage: hello(’World’)
> Hello World
This looks like the sort of error you get when you try to load a .spyx
file from the notebook. Are you using the notebook interface or just
the plain command line?
See the thread
http://groups.google.com/group/sage-support/browse_frm/thread/ab15557429e060c4/633fcbc85a307d95?lnk=gst&q=cython+notebook#
and
http://groups.google.com/group/sage-support/browse_frm/thread/b99c064b402ece4/cb55ac550f72d694?lnk=gst&q=notebook+spyx#cb55ac550f72d694
for similar discussions.
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---