Thanks a lot! Works like a charm.

cheers

On Aug 20, 5:21 pm, "William Stein" <[EMAIL PROTECTED]> wrote:
> On Wed, Aug 20, 2008 at 12:43 PM, Simon King
>
> <[EMAIL PROTECTED]> wrote:
>
> > On Aug 20, 8:41 pm, hypermonkey2 <[EMAIL PROTECTED]> wrote:
> >> P=point([0,0])
>
> >> when i run this python script, it does not recognize point.
> >> do i need to import something?
>
> > I guess
> >  from sage.plot.plot import point
> > will do.
>
> It is much much safer to do
>
>    from sage.all import point
>
> Unfortunately, you can't import stuff from random packages in sage
> unless you want
> segfaults, etc.
>
> --William
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to