Last active
June 28, 2022 01:34
-
-
Save ronsims2/8620114f7c87ee95c9fe13b8e756d973 to your computer and use it in GitHub Desktop.
Useful Colab/Jupyter Notebook Tricks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from google.colab import drive, files | |
drive.mount('/content/drive') | |
file_root = '/content/drive/MyDrive/Colab Notebooks/week_3/' | |
# The command below will list everything in the specified folder. | |
# Notice the statement converts the python variable into a shell variable if you prepend a "$" | |
%ls "$file_root" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment