I find that in writing python code for inclusion into SAGE that I always need to add lines like:
from foo import baz,faz,buz to the top of my file, in order to get standard SAGE things such as ZZ, QQ, factor, randint, etc. etc. known to the code. The way I've been doing that is to look at my code, and find one the names, such as ZZ and then do sage: ZZ? and read off the location of this from the top of docstring, and translate it (by hand) to a from line. Does there exist (and if not, there should) a utility that would look at my python code and extract this information automatically? It would make things much less tedious? Victor -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org