Le vendredi 21 juin 2013 13:35:14 UTC+2, Jeroen Demeyer a écrit : > > On 06/21/2013 12:20 PM, Matthieu Deneufch�tel wrote: > > I added my function at the bottom of the file: > > [matthieu@localhost monoids]$ less free_monoid_element.py | grep toword > > def toword(self): > > > > and tried to import it: > > sage: from sage.monoids.free_monoid_element import toword > > > --------------------------------------------------------------------------- > > ImportError Traceback (most recent call > last) > > > > /home/matthieu/Documents/sage-5.6/<ipython console> in <module>() > > > > ImportError: cannot import name toword > > but it doesn't work... > > Thanks for your answer. > > Matthieu > > Did you rebuild the Sage library? i.e. did you run > $ ./sage -b > > Yes, see above.
-- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/groups/opt_out.
