IPython magic-command %notebook does not work when spaces are present in path (Google Colab)
- 阅读更多 关于 IPython magic-command %notebook does not work when spaces are present in path (Google Colab)
问题 In jupyter-lab I can use the magic command %notebook $output_file_path to save the history notebook as a jupyter notebook. When I am working with Google Colab (mounting Google Drive) the path of my notebook folder is something like: root_path = 'gdrive/My Drive/Colab Notebooks/my_working_folder/' The problem is that, as I try to save the notebook history, the space between "My" and "Drive" makes the magic command fail output_file_path = 'gdrive/My Drive/Colab Notebooks/my_working_folder/nb