create_temp_path
- create_temp_path(notebook_path: str, temp_base_path: str) str[source]
Create the path for a parsed jupyter notebook.
The path has the same relative position to
temp_base_pathasnotebook_pathhas toos.curdir. If that would lead out of thetemp_base_path, the path will point to a file at the root oftemp_base_path, which has the same filename as the file atnotebook_pathhas.- Parameters:
notebook_path (str) – Path to a notebook.
temp_base_path (str) – Base path of a temporary folder, the new path should have the same relative position to as
notebook_pathhas toos.curdir
- Returns:
Path to the temporary file which should be created.
- Return type:
str