Ask Your Question

Revision history [back]

How to store a shared file in notebook server ?

Suppose I'am user "pedro" creating several worksheets on some notebook server.

I would like that user "pedro" could be able to open a same file across worksheets.

Example, for user 'pedro':

worksheet1: db = sqlite3.connect("some path to same DB_FILE")

worksheet2: db = sqlite3.connect("some path to same DB_FILE")

How should I determine the best path ? I suppose the best place is something like: .sage/sage_notebook.sagenb/home/pedro/DB_FILE

Thank you.