Datalore Help

Create a file

You can create files and use them as notebook attachments or workspace files.

Create a file

  1. Go to Main menu | Tools | Attached data or click the Attached data icon on the left-hand sidebar. You can see two categories of attached files there:
    • Notebook files: files that you create here can only be used in this notebook.

    • Workspace files: files that you create here can be attached to any notebook from this workspace.

  2. Click the category where you want to create a file. You can now view the attachments.

  3. (Optional) If you are working from the default Home workspace, you must explicitly provide access to its files. Click Attach workspace files to view the attachments and use the data in the notebook.

  4. Click the New file icon on the toolbar in the upper-left corner of the list.

    Alternatively, you can right-click anywhere in the list area and select New file from the popup menu. The new file is added to the list.

  5. Right-click the newly added file and select Rename to provide a name and specify an extension. You can create any text-based file (CSV, TSV, and other formats).

  6. Double-click the file to open and edit it in the expanded preview window in the upper-right corner of the editor.
    A .py file in the preview window
  7. Click Save to save the changes.

  8. (Optional) Click Close to hide the preview window.

Last modified: 07 October 2021