Skip to content

Instantly share code, notes, and snippets.

View fuad021's full-sized avatar
🐢
Slow Learner

Fuad Al Abir fuad021

🐢
Slow Learner
View GitHub Profile
@Justus-coded
Justus-coded / colab.py
Created December 21, 2020 03:36
Installing a module permanently in Google colab
import os, sys
from google.colab import drive
drive.mount('/content/gdrive')
#create a path to save the module
nb_path = '/content/notebooks'
os.symlink('/content/gdrive/My Drive/Colab Notebooks', nb_path)
sys.path.insert(0, nb_path)