How would you make folders in a notebook?

asked 2012-07-11 08:18:15 +0200

ooglyboogly gravatar image

updated 2012-07-11 11:54:44 +0200

I would absolutely love to have directories in sage. I tried simply renaming paths, so /home/admin/20 becomes /home/admin/test. That doesn't work. Nor does renaming it a number (/home/admin/1000)

Right now, all I can think of is to hardcode HTML directories (so they'd be independent of the sage server).

[edit] In case it wasn't clear, I'm somewhat new to python, but am willing to learn. I'm not even sure how the sagenb server works, so if you could just point me in the right direction, that would be good.

edit retag flag offensive close merge delete

Comments

Some people put keywords in their documents and then use the search function in the worksheet listing.

kcrisman gravatar imagekcrisman ( 2012-07-11 22:33:06 +0200 )edit

The sagenb code base is at https://github.com/sagemath/sagenb/. This has been desired for quite a while - see for instance http://trac.sagemath.org/sage_trac/ticket/7655 - but it would require quite a bit of work, I think.

kcrisman gravatar imagekcrisman ( 2012-07-11 22:34:40 +0200 )edit

Is it possible to use a "keyword" or "tag" based system? This modifies the search idea and would be more like gmail's tags.

calc314 gravatar imagecalc314 ( 2012-07-12 15:21:47 +0200 )edit

Probably, but again that would be something that would require some significant programming to implement properly. Maybe you have a student who is looking for a senior project :)

kcrisman gravatar imagekcrisman ( 2012-07-12 21:27:27 +0200 )edit

I'm afraid this one is probably beyond my programming skills. Could there be an option to sort the worksheets by name? Then, you could at least use a simple naming scheme to keep worksheets in groups.

calc314 gravatar imagecalc314 ( 2012-07-14 23:08:36 +0200 )edit