Re: [sage-support] import

2021-10-07 Thread cyrille.piate...@univ-orleans.fr
Envoyé: Mercredi 6 Octobre 2021 13:50:27 Objet: Re: [sage-support] import Je ne peux rien pour votre compte. En revanche, ceci devrait vous éclairer : sage: Ex = x > 3 sage: Ex.lhs() x sage: Ex.rhs() 3 sage: Ex.operator() # Kekcékçà ? sage: import_statements(Ex.operator()) from _

Re: [sage-support] import

2021-10-06 Thread Emmanuel Charpentier
ccès aux signes <= ou >= dans > une inégalité (.lhs() pour le terme de gauche, .rhs() pour le terme de > droite mais pour le signe ? > > Cordialement > > Cyrille Piatecki > > -- > *De: *"slelievre" > *À: *"sage-support"

Re: [sage-support] import

2021-10-04 Thread cyrille.piate...@univ-orleans.fr
our le terme de droite mais pour le signe ? Cordialement Cyrille Piatecki De: "slelievre" À: "sage-support" Envoyé: Dimanche 26 Septembre 2021 15:06:59 Objet: Re: [sage-support] import A web search for [ import ipynb ] https://duckduckgo.com/?q=import+ipynb also r

Re: [sage-support] import

2021-09-26 Thread slelievre
A web search for [ import ipynb ] https://duckduckgo.com/?q=import+ipynb also reveals tools such as ipynb and import-ipynb, which can be pip-installed. --Samuel -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this

Re: [sage-support] import

2021-09-26 Thread Dima Pasechnik
They have a tool, nbmerge, to merge notebooks. https://github.com/jupyter/nbconvert/issues/253 Beyond this, no, you really would need to have code either in *.sage file, and load() it in a Sage notebook, or have a *.py file, and import it in the usual Python way. HTH Dima On Sun, Sep 26, 2021

Re: [sage-support] Import error for lrcalc library

2021-02-04 Thread slelievre
This was reported to the Arch Linux forums: https://bbs.archlinux.org/viewtopic.php?id=263214 -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [sage-support] Import error for lrcalc library

2021-02-01 Thread Matthias Koeppe
As Dima said, please report bugs of distribution packaging of Sage to the distribution. On Monday, February 1, 2021 at 8:29:17 AM UTC-8 tiger...@gmail.com wrote: > I should also add this. > If from an ipython module I invoke `from sage.misc.misc_c import prod`, > everything works fine. > On

Re: [sage-support] Import error for lrcalc library

2021-02-01 Thread Simone Perriello
I should also add this. If from an ipython module I invoke `from sage.misc.misc_c import prod`, everything works fine. On the other hand, `from sage.rings.all import RealField` works well inside ipython, but produce a different error from a source file. Relevant link

Re: [sage-support] Import error for lrcalc library

2021-02-01 Thread Dima Pasechnik
This has to be reported to Arch people. On Mon, Feb 1, 2021 at 1:39 PM Simone Perriello wrote: > > > Operating system: ArchLinux. > Sage installed through official packages. > If I just launch `sage` from terminal it gives this stacktrace > https://pastebin.com/s1FnMhe2 > > The same happens if

Re: [sage-support] import .sage file [was : Evaluating Symbolic Expressions]

2011-11-02 Thread Laurent
Hi, I think its a issue of parsing. If your file is called hello.py it gives the errors you mentioned. However if you call your file hello.sage it works. If you call your file hello.sage and run sage hello.sage it generates a hello.py which I append below - I know that, but I never

Re: [sage-support] import .sage file [was : Evaluating Symbolic Expressions]

2011-11-02 Thread William Stein
On Wed, Nov 2, 2011 at 3:22 AM, Laurent moky.m...@gmail.com wrote: Hi, I think its a issue of parsing. If your file is called hello.py it gives the errors you mentioned. However if you call your file hello.sage it works. If you call your file hello.sage and run sage hello.sage it

Re: [sage-support] import .sage file [was : Evaluating Symbolic Expressions]

2011-11-02 Thread Laurent
.sage files are not meant to be used like normal Python modules. You can only load or attach them. I implemented this in 2005, when I was basically implementing something like Magma on top of Python. I'm not sure this is good or bad, but I definitely find sage: attach file.sage to be

Re: [sage-support] Import Ellipse module?

2011-05-27 Thread Rajeev Singh
On Thu, May 26, 2011 at 10:26 PM, Mel chemmyg...@gmail.com wrote: Do I need to download/load something before I can import the ellipse module? When I type from sage.plot.ellipse import Ellipse I get ImportError: No module named ellipse Thanks! -- To post to this group, send email to

Re: [sage-support] Import a Data file

2010-03-04 Thread Robert Bradshaw
On Mar 4, 2010, at 12:10 PM, Oscar Castillo-Felisola wrote: Hi everybody, I'd like to know if it is possible to import data into Sage, so that plots (or other manipulation) might be done. Yes, it's possible. - Robert -- To post to this group, send email to