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
Hi,
Iq there a way to import function from a sage notebook to another notebook ?
I have long graphic one about 30 lines and I would like to show the
graphic in another notebook, like with an attach method "show(g)" with
import and be able to add functions ?
Any help welcome
best
Henri
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
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 I try to do a `from sage.all import *` from ipython,
from a python file or from sage -python.
--
You
I found a library skimage. How should I import it in sage?
http://scikit-image.org/
--
Avi kaur
Blog: https://avikashyap620.wordpress.com
There is no lacking of opportunity, The thing is you do not want to see It
--
You received this message because you are subscribed to the
I'm trying to import scikits sklearn.gaussian_process and I suspect
its compiled for a 32bit install Is there any way I can recompile to
work in sage???
Thanks for any help.
Here's the error:
Traceback (most recent call last):
File stdin, line 1, in module
File _sage_input_25.py, line 10, in
It seems that you installed sklearn in the wrong way. To install sklearn for
usage with sage do:
sage -sh
To start a shell wich is configered so that all sage directories and binaries
and the sage python are in your path. And then do whatever the sklearn
documentation sais you should do.
We
It seems that you installed sklearn in the wrong way. To install sklearn for
usage with sage do:
sage -sh
To start a shell wich is configered so that all sage directories and binaries
and the sage python are in your path. And then do whatever the sklearn
documentation sais you should do.
We
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
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 sage-support@googlegroups.com
To unsubscribe from this group, send email
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.
Thank you guys!
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from 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
dear all
in documentation for var() it is stated variables ... automatically
injected into the global namespace. I'd like to define variable in
module and then use it from several scripts, but variable is not
exported actually. my prog.sage looks like:
from mod import *
createVar('A')
f = A^2
My Python script is getting very large. The html pages I am creating
are all class defs.
Can I save the defs in a text file then import them? If so where do I
put them. Isn't Sage just one large bounce of Python files?
Please, excuse my lack of Python/Sage knowledge. Six months ago I
Dear support,
factorial() is defined (globally) in a couple places in Sage. For
one, we have in rings/all
from arith import * [and factorial is defined there]
but for another we have in functions/all
from other import ... factorial ...
But
sage: factorial?
makes it look like it lives in
Hello!
Currently I've got a moodle installation on the same server as sage
notebbok is installed on with plenty of users (dept students and
teachers) and mysql authentication.
I wonder is there a way to auth users via external mysql database. Or
(in case it's currently impossible) just import
Hi,
I started writing an external library that uses Sage and I meditatly ran into:
import sage.rings.integer
Traceback (most recent call last):
File stdin, line 1, in module
ImportError: libcsage.so: cannot open shared object file: No such file
or directory
import sage.rings.arith
Traceback
27 matches
Mail list logo