+1 to pwd. I've forgotten to copy over my sage notebooks more than once when moving to a new computer, and even when I remember to it's a pain to navigate that huge tree to figure out which ones you care about.
On Sat, Oct 18, 2014 at 9:02 AM, Emmanuel Charpentier <emanuel.charpent...@gmail.com> wrote: > pwd : I'd love to know *WHERE* I stored such and such plots I had trouble to > extract from Sage (and couldn't do otherwise...), without having to scratch > my guesses through a directory bush (i. e something aspiring to the dignity > of tree but starting in a gazillion directions at once with no usable > names...). > > BTW : any hope to be able to invoke sage with a worksheet as an argument ? > I'd love to save a worksheet to some file and be able to edit it by just > saying "sage somefile.someext" (hint : think git...). The current notebook > does not allow for that, alas : you have to explicitely import your > worksheet (seems to be a compressed archive of a directory tree), and to > explicitely export it after saving it. > > HTH, > > -- > Emmanuel Charpentier > > Le lundi 13 octobre 2014 15:25:01 UTC+2, Sébastien Labbé a écrit : >> >> Hi sage-devel, >> >> At http://trac.sagemath.org/ticket/16996#comment:47, we had this >> discussion about what should be the present working directory (pwd) for sage >> -notebook=ipython ? Personally, I really like the behavior of the sage >> command line where the pwd is just the present working directory: >> >> $ pwd >> /Users/slabbe/the/folder/where-I-want-to-work/ >> $ sage >> sage: pwd >> /Users/slabbe/the/folder/where-I-want-to-work/ >> >> I was expecting the same for the new ipython notebook for Sage. But as >> #16996 will go in now, the default directory will always be >> DOT_SAGE/notebooks_ipython/ which follows the style for the sagenb notebook >> where worksheets were hidden in some DOT_SAGE folder. >> >> Note: With #16996, it is possible to start in the current directory with >> sage -notebook=ipython --notebook-dir=. >> >> Time to vote. What do you prefer as default directory for the ipython >> notebook? >> >> - pwd >> - DOT_SAGE/notebooks_ipython/ >> >> Sébastien > > -- > You received this message because you are subscribed to the Google Groups > "sage-devel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-devel+unsubscr...@googlegroups.com. > To post to this group, send email to sage-devel@googlegroups.com. > Visit this group at http://groups.google.com/group/sage-devel. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.