This documentation is for an old version of IPython. You can find docs for newer versions here.

Module: html.services.contents.fileio

Utilities for file-based Contents/Checkpoints managers.

1 Class

class IPython.html.services.contents.fileio.FileManagerMixin

Bases: object

Mixin for ContentsAPI classes that interact with the filesystem.

Provides facilities for reading, writing, and copying both notebooks and generic files.

Shared by FileContentsManager and FileCheckpoints.

atomic_writing(os_path, *args, **kwargs)

wrapper around atomic_writing that turns permission errors to 403

open(os_path, *args, **kwargs)

wrapper around io.open that turns permission errors into 403


context manager for turning permission errors into 403.