Skip to content

Instantly share code, notes, and snippets.

@farzadhallaji
Last active January 28, 2023 12:57
Show Gist options
  • Save farzadhallaji/60509cd9762396690345e713f434cc33 to your computer and use it in GitHub Desktop.
Save farzadhallaji/60509cd9762396690345e713f434cc33 to your computer and use it in GitHub Desktop.
import folder on google colab
from google.colab import drive
drive.mount("/content/drive")
import os
path = '/content/drive/My Drive/path_to_folder/' #replace path_to_folder with your desired folder path
os.chdir(path)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment