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 _
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"
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
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
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
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
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
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
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
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
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
.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
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
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
14 matches
Mail list logo