On Tue, 1 Oct 2013, Volker Braun wrote:
For example:
sage: import_statements(save)
from sage.structure.sage_object import save
Thanks for very fast answer! This works, but import_statements(Posets)
says
** Warning **: several names for that object: Posets, posets
from sage.combinat.posets.poset_examples import Posets
and adding
from sage.combinat.posets.poset_examples import Posets
to .spyx gives
File "/usr/local/sage-5.11/local/bin/sage-run-cython", line 9, in <module>
eval(compile(s, tmp_filename(), 'exec'))
. . .
File
"/usr/local/sage-5.11/local/lib/python2.7/site-packages/sage/combinat/posets/__init__.py",
line 3, in <module>
import all
. . .
AttributeError: 'module' object has no attribute 'Map'
--
Jori Mäntysalo
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/groups/opt_out.