On Jul 21, 2:34 am, Mike Hansen <mhan...@gmail.com> wrote:
> On Tue, Jul 20, 2010 at 9:27 AM, KvS <keesvansch...@gmail.com> wrote:
> > Thanks for the quick reply. I tried putting "from sage.all import *"
>
> Could you post the code tohttp://sage.pastebin.com.  It is better to
> avoid using "import *" and explicitly list the things that you want to
> import.  That way you know what objects are coming from where.
>
> --Mike

Oh, and for completeness: this is the code from the notebook:

import sys
pth='/home/kees/SAGE_Python_modules/Goran'
if not pth in sys.path:
    sys.path.append(pth)

from Goran_optStoppLegendre1_tmp import *

G(x)=x^2-4; a=-3; b=3
print findZerosOnInterval(G,a,b)

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to