Python: snippets
From Research management course
Papers on Machine learning refer to the code of computational experiments to reproduce. Selecting a shell and setting up an environment to execute an alien project takes time. Below we collect some useful tips on how to start and organize work on alien projects.
How to install to
To import modules from custom py-files, mount the Google-drive
from google.colab import drive drive.mount('/content/drive') import sys sys.path.insert(0,'/content/drive/MyDrive/MyProject') % download the files to the folder, namely utils.py % and import desired functions from it from utils import *