ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Fri, 22 Apr 2016 23:14:15 +0200Missing modules and functionshttps://ask.sagemath.org/question/33180/missing-modules-and-functions/ I used the command %reset and now basic functions are missing like the command "show_identifiers()" and even when I assign g=Graph('CF') e get the message (name 'Graph' is not defined).
My question: how do I restore the basic commands?Fri, 22 Apr 2016 07:05:59 +0200https://ask.sagemath.org/question/33180/missing-modules-and-functions/Answer by tmonteil for <p>I used the command %reset and now basic functions are missing like the command "show_identifiers()" and even when I assign g=Graph('CF') e get the message (name 'Graph' is not defined).
My question: how do I restore the basic commands?</p>
https://ask.sagemath.org/question/33180/missing-modules-and-functions/?answer=33195#post-id-33195You can try:
sage: from sage.all import *
Of course the variables you defined yourself will not be recreated.
Also, note that instead of using `%reset`, you can just do:
sage: reset()
which only reset user-defined variables.
Fri, 22 Apr 2016 23:14:15 +0200https://ask.sagemath.org/question/33180/missing-modules-and-functions/?answer=33195#post-id-33195