How can swift access Google Drive

#1

In Python
from google.colab import drive
drive.mount(’/content/gdrive’, force_remount=True)
root_dir = “/content/gdrive/My Drive/”
base_dir = root_dir + ‘fastai-v3/’

In swift

import Python
let colab = Python.import(“google.colab”)
What is the equivalent to drive.mount

colab.pythonObject
<module ‘google.colab’ from ‘/usr/local/lib/python3.6/dist-packages/google/colab/init.py’>

0 Likes