Hello, I would like to run the following cell on Colab to enable my Google drive, and setup a link to easily save the exported files.
let drive = Python.import(“google.colab”).drive
drive.mount("/content/gdrive", force_remount: True)
let driveLink = “/content/fastai-v3-swift/”
!ln -sv “/content/gdrive/My Drive/fastai-v3” .
let _ = Python.import(“google.colab”).sys.path.insert(0, slink)
I get the following error:
error: <Cell 10>:8:3: error: consecutive statements on a line must be separated by ‘;’ ln -sv “/content/gdrive/My Drive/fastai-v3” .
It seems that the syntax to run shell commands is not working for me. I also tried %%, %%shell without luck.
How to run a script shell in google colab for swift?
Finally, if there is a snippet, or better way to do what I am trying please let me know.