Aren't I embarassed. It's the FIRST LINE of the help screen. regards john perry
On Oct 9, 12:27 pm, john_perry_usm <[EMAIL PROTECTED]> wrote: > Hi, > > I have a small library of SAGE functions. I've saved it as > somefile.py. I can import it and run it in SAGE using > > >>> import somefile.py > >>> somefile.read_blah() > > However, this works only as long as somefile.py uses only Python > commands & structures. If I try to define a PolynomialRing, it > complains that the global name 'PolynomialRing' is not defined. > > How do I get around this? I tried renaming it as somefile.sage but > that won't import at all. > > regards > john perry --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---