ASKSAGE: Sage Q&A Forum - Latest question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Mon, 09 Mar 2020 03:40:50 -0500interact still using sagenb ?http://ask.sagemath.org/question/50196/interact-still-using-sagenb/SageMath 9.0 , Ubuntu 18.04.4 LTS
in sage terminal:
@interact
def _(n=(1,20)):
print(factorial(n))
[Sage Interact Quick Start ](http://doc.sagemath.org/html/en/prep/Quickstarts/Interact.html)
gives the error:**ModuleNotFoundError: No module named 'sagenb'**
ortolljMon, 09 Mar 2020 03:40:50 -0500http://ask.sagemath.org/question/50196/best way to convert many notebooks from sagenb to jupyter?http://ask.sagemath.org/question/41680/best-way-to-convert-many-notebooks-from-sagenb-to-jupyter/I moved from sagenb to jupyter a while ago, but I still have a large number of sagenb notebooks that I have been converting one-by-one on demand. Is there a way to convert all of them at once and save them to a dedicated folder? Currently, when I start sage -notebook, I get to an interface where I can see all my sagenb notebooks and I have the option to click on any of them, convert and open in jupyter. I would actually like to convert all of them without opening them.
This is related to https://ask.sagemath.org/question/35873/how-to-automatically-convert-many-sws-to-ipynb/, but I suppose that there is a better way now. Thanks already for your help!stanWed, 21 Mar 2018 08:36:13 -0500http://ask.sagemath.org/question/41680/Running natively in Windows, can a SageMath 8.0 Jupyter Notebook access "legacy" .sws worksheetshttp://ask.sagemath.org/question/39470/running-natively-in-windows-can-a-sagemath-80-jupyter-notebook-access-legacy-sws-worksheets/ As a Windows 10 user, I recently upgraded from SageMath 6.8 running in VirtualBox to SageMath 8.0 running natively without VirtualBox. I successfully uploaded my "library" of hundreds of .sws worksheets into a SageMath 8.0 "legacy" (SageNB) Notebook (*). But my question is as follows:
***Is there a way to upload my "library" of .sws worksheets into a Jupyter Notebook in SageMath 8.0 running natively in Windows?***
(*) I noticed that on my system, the Windows 10 shortcut produced upon installing SageMath 8.0 had the following target for opening a Jupyter Notebook:
`"C:\Program Files\SageMath 8.0\runtime\bin\mintty.exe" -t 'SageMath 8.0 Notebook Server' -i sagemath.ico /bin/bash --login -c '/opt/sagemath-8.0/sage --notebook jupyter'`
By simply replacing that last word `jupyter` with `sagenb` (and renaming the shortcut), I obtained a shortcut that opens a "legacy" SageMath Notebook (SageNB). This, rather than a Jupyter Notebook, is the only way I've so far managed continue using my "library".res0001Fri, 10 Nov 2017 00:00:34 -0600http://ask.sagemath.org/question/39470/jupyter interface vs. sagenbhttp://ask.sagemath.org/question/38679/jupyter-interface-vs-sagenb/I'm converting to jupyter from sagenb, and am having trouble finding equivalent interface shortcuts for a couple of features.
(a) In sagenb, to get a new cell I can hit a +/wordballoon icon. In jupyter, do I have to go through the pulldown menu or is there some way to get a new cell by mousing inside the notebook?
(b) In sagenb, there is a wysiwyg interface for the explanatory-text cells. In jupyter, I'm not finding one; I seem to have to code everything manually in markdown.
Am I missing something, or are those time-saving features gone?
Also: One feature I wanted that was not present in sagenb was the ability to delete output cells. (This is so I can make a lab notebook for a class without having to make a test copy and then copy/paste all the input cells to a fresh notebook.) Is that possible somehow in jupyter? I see that I can hide output cells, but it's not exactly the same.smbelcasMon, 28 Aug 2017 22:30:00 -0500http://ask.sagemath.org/question/38679/how to (automatically) convert many .sws to .ipynb?http://ask.sagemath.org/question/35873/how-to-automatically-convert-many-sws-to-ipynb/Thanks to Volker Braun, there is a great tool to convert sagenb work sheets to jupyter ones, e.g.:
sage --notebook=export --ipynb=newname.ipynb admin:383
However, I got a folder full of exported worksheets as .sws files that are not in my .sagenb folder. Do I have to import them one by one, then find out their numbers and export using a command equivalent to the above? Surely there must be a way to automate this from the command line or convert directly. Or is there a way to pass an .sws-file to sage --notebook=export? https://github.com/vbraun/ExportSageNB does not mention such a possibility. Thanks already for your help!stanFri, 02 Dec 2016 09:38:24 -0600http://ask.sagemath.org/question/35873/Sagenotebook is not evaluating the cell?http://ask.sagemath.org/question/38020/sagenotebook-is-not-evaluating-the-cell/[sage -n is what I did.](https://ptpb.pw/hnvK)
I installed sagemath and sage-notebook via pacman on archlinux.
I asked them they said it's an upstream issue.
However the console works, but I like cells and notebook. Don't use the console.
I waited hours but no response.
![no response](https://ptpb.pw/m4NN.png "disaster")screened00Mon, 19 Jun 2017 12:05:34 -0500http://ask.sagemath.org/question/38020/sagenb vs jupyterhttp://ask.sagemath.org/question/37897/sagenb-vs-jupyter/ I switched to jupyter notebook from sagenb to solve some problems (better direct file access and it handles the import print_function better, etc) But is there any difference in the function of Sage itself between the two notebooks?cybervigilanteFri, 09 Jun 2017 15:02:31 -0500http://ask.sagemath.org/question/37897/Running Sage in background of sitehttp://ask.sagemath.org/question/36723/running-sage-in-background-of-site/Is it possible to have the computer algebra system run on the webpage without actually opening up a visible cell? I know it was possible with sagenb, but is it possible now with sagecell?mcweihingFri, 24 Feb 2017 14:06:38 -0600http://ask.sagemath.org/question/36723/Updating from old SageNotebook fileshttp://ask.sagemath.org/question/36689/updating-from-old-sagenotebook-files/ I've recently inherited some html files that incorporated sagenb files to perform algebraic computations in the browser. Essentially, they generate calculus practice problems, but they don't work anymore. I was wondering if there's any way to update them to work again.
ThanksmcweihingTue, 21 Feb 2017 16:51:18 -0600http://ask.sagemath.org/question/36689/Sagenb worksheet recovery?http://ask.sagemath.org/question/26645/sagenb-worksheet-recovery/I didn't notice that Sagenb was being shut down until just now.
I've tried to log in, but google login doesn't work any more.
Is there any way to recover those worksheets? They're very important to me...Bryan KillettSat, 25 Apr 2015 17:38:17 -0500http://ask.sagemath.org/question/26645/Sagenb from ipadhttp://ask.sagemath.org/question/23380/sagenb-from-ipad/ I'm stumped. How do I get an id to sign into sagenb.org?ImhotepFri, 11 Jul 2014 17:28:01 -0500http://ask.sagemath.org/question/23380/why sagenb.mc.edu cannot register?http://ask.sagemath.org/question/10926/why-sagenbmcedu-cannot-register/sage.lacim.uqam.ca cannot register too ,why?
and sage.lacim.uqam.ca not in wiki.sagemath.org servers lists,why?cjshThu, 16 Jan 2014 00:41:24 -0600http://ask.sagemath.org/question/10926/can sagecloud open many windows like sagenb?http://ask.sagemath.org/question/10953/can-sagecloud-open-many-windows-like-sagenb/sagenb has many windiws when need,how to do in sagecloud?cjshWed, 22 Jan 2014 15:14:40 -0600http://ask.sagemath.org/question/10953/a question about two sagenbhttp://ask.sagemath.org/question/10867/a-question-about-two-sagenb/when I try study some Published examples,so I found from different sagenb.
when run a code,take too more time(a green line appears).
so I want stop it,so I sign out and sign in again,the green still line appears,running all the time from yesterday to today,still green line appears
here still green line: https://sage.math.uni-goettingen.de/home/cjsh/7/
I try it at http://sagenb.skku.edu/, it is OK.sign out and sign in again,the green still line disappears at once.
I found sage.math.uni-goettingen.de is run on cloud server ,but it could be more better.cjshSun, 29 Dec 2013 16:27:41 -0600http://ask.sagemath.org/question/10867/In light of the existence of cloud.sagemath.com, when will sagenb.org close?http://ask.sagemath.org/question/7539/in-light-of-the-existence-of-cloudsagemathcom-when-will-sagenborg-close/there are cloud, when will closed sagenb online ?cjshMon, 18 Nov 2013 14:49:24 -0600http://ask.sagemath.org/question/7539/from google lantern,sagenb is OK,http://sage.skku.edu/ is OK,but HTTPS://cloud.SAGEMATH.ORG cannothttp://ask.sagemath.org/question/10796/from-google-lanternsagenb-is-okhttpsageskkuedu-is-okbut-httpscloudsagemathorg-cannot/from google lantern,sagenb is OK,http://sage.skku.edu/ is OK,but HTTPS://cloud.SAGEMATH.ORG cannotcjshMon, 02 Dec 2013 23:29:20 -0600http://ask.sagemath.org/question/10796/How to publish my results ?http://ask.sagemath.org/question/10328/how-to-publish-my-results/I try to publish my work on the internet ( [http://alpha.sagenb.org/home/pub/715](http://alpha.sagenb.org/home/pub/715/) ) but the results do not display (there is only the code that appears). Does anyone have a solution to this problem? Thank you.moroplogoSun, 07 Jul 2013 06:18:14 -0500http://ask.sagemath.org/question/10328/Problem with sagenb and Google accounthttp://ask.sagemath.org/question/10167/problem-with-sagenb-and-google-account/Hello! I have been logging in to sagenb [here](http://sagenb.com/) for the past month or so using my Google account. Every time I clicked the Google button it would prompt me to create a profile, even though I had already made one and I had worksheets saved. Today, however, when I click the Google button and try to "create" the account, it tells me "Username already in use". Clearly the username exists, but I never gave it a password - I simply logged in using the Google account. Further, there's no way I see that I can recover or create a password. How do I remedy this, either by logging in with my old Google account or finding a way to obtain a new password? My username is Cook_Me_Plox. Thank you.Cook_Me_PloxWed, 29 May 2013 22:52:28 -0500http://ask.sagemath.org/question/10167/Hide source code on published worksheethttp://ask.sagemath.org/question/9834/hide-source-code-on-published-worksheet/Displaying code for readers might be helpful but there are times when hiding them makes the published worksheet more readable, especially when you use sagenotebook for demonstration rather than for tutorials. For my case, I've used %hide in each cell to hide the cells and code(http://alpha.sagenb.org/home/pub/445/). However the published worksheet always displays the code which is undesirable. Is there anyway to surpress sagenotebook from displaying the cells that include sage commands? ZhengFri, 22 Feb 2013 13:11:23 -0600http://ask.sagemath.org/question/9834/sagenb uploadhttp://ask.sagemath.org/question/9670/sagenb-upload/I'm using sagenb, and I would like to import data from one worksheet to another. Both are on the server. I'm guessing that I should use attach or load commands, but I don't know what path to give them, because the files are not on my computer but on the server.
Thanks in advancebolverkMon, 31 Dec 2012 21:15:48 -0600http://ask.sagemath.org/question/9670/Public servers where I can publish (share) a notebook?http://ask.sagemath.org/question/9610/public-servers-where-i-can-publish-share-a-notebook/I've spent some time preparing a notebook I planned to share with others, but it seems like publishing (or at least viewing published notebooks?) is disabled at sagenb.org. Is this a deprecated feature?
I thought it would be a great way to share a "living" version of a document that keen readers could then experiment further with. I guess I could just share my .sws file but that would mean extra steps of setting up a Sage account and uploading it before messing with it. But I suppose that is a workable alternative. PatrickSurryWed, 05 Dec 2012 16:55:58 -0600http://ask.sagemath.org/question/9610/How to make a Sage account?http://ask.sagemath.org/question/9338/how-to-make-a-sage-account/how to make an online free Sage account? I tryed on http://www.sagenb.org/login, but there is not a possibility to make an account, only login is possible.Tom59Sat, 22 Sep 2012 00:20:16 -0500http://ask.sagemath.org/question/9338/Lost password recovery?http://ask.sagemath.org/question/9176/lost-password-recovery/Is there any functionality for recovering a lost password for the sagenb.org site? I can't remember mine since a computer reset, and there doesn't seem to be a link on the main page. I would like to recover my old work, and unfortunately, publishing documents doesn't seem to actually do anything...shoofleThu, 23 Aug 2012 08:52:30 -0500http://ask.sagemath.org/question/9176/Matplotlib cannot create a graphhttp://ask.sagemath.org/question/9105/matplotlib-cannot-create-a-graph/Hello! Using www.sagenb.com I typed the following code in the cell of my worksheet:
import matplotlib.pyplot as plt
plt.plot([1, 3, 2, 4])
plt.show()
Unfortunately there isn't any graph under the cell. What should I do? Thanks.AndreWinSat, 07 Jul 2012 03:59:10 -0500http://ask.sagemath.org/question/9105/sagenb openidhttp://ask.sagemath.org/question/9120/sagenb-openid/
Quick question please. Firstly, I must admit that I have not used open id before. I signed into sagenb.org with my google id and then created a profile, say abcde; it did not request me to enter password or anything. I signed out and later when I signed in again using my google id, it kept on refusing to let me use the same profile abcde. Am I doing something wrong? or are we to use different profile every time?
Please help. Thanks.auchan2012Fri, 29 Jun 2012 07:09:09 -0500http://ask.sagemath.org/question/9120/Lost access on Sagenb.orghttp://ask.sagemath.org/question/8818/lost-access-on-sagenborg/Hi
I've recently started to use the sagenb server instead of my own version of sage to circumvent some features that are not currently working on Mac OS. I wanted to play smart by using my gmail account to register on sagenb.org and not have to invent yet an other password for it. That means that I should have a sagenb username (it should be Bertrand_Meyer if I'm not mistaken) but no known password associated with it. Now unfortunately, the link from Google.com to sagenb.org is not working anymore and, by trying different things, a new empty sagenb account (without the underscore) has been associated with my google account.
Here is my question : is there any way to reset by myself the password of a sagenb account or just to recover my lost code ? I've seen in older post that this was a project ?
Thanks
Bertrand
BertrandThu, 22 Mar 2012 23:55:26 -0500http://ask.sagemath.org/question/8818/Can two people use a notebook at the same time?http://ask.sagemath.org/question/8341/can-two-people-use-a-notebook-at-the-same-time/Sage warned me in a red banner (as best I can remember) that someone is viewing the notebook that is was working on.
Was I being given a warning? If so what should I do? Wait until my collaborator has left the notebook.
What happens if we both try to make changes at the same?
We are working online. I get taken to sageb.
David JonahWed, 19 Oct 2011 08:33:18 -0500http://ask.sagemath.org/question/8341/Publish notebook with 3d plots [edited]http://ask.sagemath.org/question/8463/publish-notebook-with-3d-plots-edited/Is there a way to export/publish plots along with code used to create them?
On sagenb if I go to the link I get when I click "publish" I don't see any plot. I don't need an interctive plot, just something graphical to show.
Thank you in advance,
Paolo.3mptyThu, 10 Nov 2011 11:17:46 -0600http://ask.sagemath.org/question/8463/Import GMP libraryhttp://ask.sagemath.org/question/8353/import-gmp-library/I have already installed the GMP library, Now i want to import this library to sage project i tried to put :
import libgmpxx.so.4
libgmpxx.so.4.path.append('usr/local/lib/')
but it does'nt work unfortunately, how can i do that. regardswassimTue, 11 Oct 2011 13:37:36 -0500http://ask.sagemath.org/question/8353/[Updated] Sagenb via Simple Sage Server APIhttp://ask.sagemath.org/question/8230/updated-sagenb-via-simple-sage-server-api/Hi!
I know Sage has a simple server API that you can start/moniter a Sage calculation via a terminal. But is there a way to use it to access existing Worksheets that are already in SageNB?
In reference to the Simple Server API here:
http://www.sagemath.org/doc/reference/sagenb/simple/twist.htmltedFri, 15 Jul 2011 08:33:44 -0500http://ask.sagemath.org/question/8230/