0 votes
Can I share my datalab python workbooks with my collaborators, or is it just an individual thing?

That is, is there some way "friends" can access my notebooks using their own accounts, e.g. evaluating the code, seeing the graphics, etc.
asked Nov 10 by Hy | 7 views

1 Answer

0 votes

Hi, thanks for reaching out.

Concurrent working on the same notebook between multiple users is not (yet) possible. You can share a notebook though, and then your friends can run their copy under their accounts.

If you don't want to send emails around with notebooks attached, you could place your notebook in your vospace storage area, in the public/ directory, which is by default readable by all Data Lab users. To write something to your vospace, you need to use the DL storeClient. Example code:

from dl import storeClient as sc
   -rw-rw-r-x demo02 37975 10 Nov 2021 17:26 example.ipynb

This assumed that you are already logged in (I was logged in as user demo02), and I copied a NB called example.ipynb from the same directory where I ran the NB with *this* code, into my VOSpace, into public/mynotebooks/ directory (which we just created).

Now, any of your friends can get it from there by doing e.g. this:

from dl import storeClient as sc

Notice how they reference your VOSpace with your username, not with 'vos'. And here I assumed they want to copy the file into the same directory as where they are currently working from.

In the future there will be a web-based way to get to shared files, but we are not there yet.

Please let us know if we can help in any other way.

Best regards,


answered Nov 10 by robertdemo (2,880 points)

282 questions

281 answers


1,886 users

Welcome to Data Lab Help Desk, where you can ask questions and receive answers from other members of the community.