简体   繁体   中英

from google.colab import files, how to get the same behaviour of files in Jupyterlab

I'm currently working on a project that runs fine on colab, but I would like to modify and run it on my local jupyterlab but there are some functions on that project that are specific to colab like files and output imported this way from google.colab import files and from google.colab import output .

I will appreciate if you have a way to go about solving this issue.

I found it on pypi, so basically you can install the module locally pip install google-colab and then use it in your notebook.

Also here you can find the repo with the desired modules: https://github.com/googlecolab/colabtools/tree/0162530b8c7f76741ee3e518db34aa5c173e8ebe/google/colab

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM