À: "sage-support"
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_st
nt avoir accè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-supp
s() pour 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
a
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 group
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 at
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 sage-support+unsub
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 the
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 https://pastebin.com/AMfd0hhh
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 I
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 receive
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 Goo
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 c
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 c
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 "", line 1, in
File "_sage_input_25.py", line 10, in
exe
.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 Wed, Nov 2, 2011 at 3:22 AM, Laurent 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 generates
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 understood
On Thu, May 26, 2011 at 10:26 PM, Mel 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 sage-su
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 emai
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 sage-support@googlegroups.c
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
sage-support+unsubs
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
couldn't
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 fu
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 user
I have added the unum module for units to my site-packages. I use
this module in nearly all notebooks and would like to avoid importing
it at the top of every one. Can someone point me to where I can add
this to the list of standard imports? Thanks.
--~--~-~--~~~---~
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 "", line 1, in
ImportError: libcsage.so: cannot open shared object file: No such file
or directory
>>> import sage.rings.arith
Traceback (mo
28 matches
Mail list logo