Cannot connect colab to my google drive as it doesn't appear when searching - google-colaboratory

From my google drive, I'm trying to connect google colab to my google drive without success.
Please, find below the steps that I took:
more
connect more apps
typed 'colab' in the search bar and I didn't find the app.
Thank you in advance for helping me out.
While in Drive, click on New button (marked with a + New) on left-hand side and select More > Connect more apps
Then, by using the magnifying glass icon to "Search apps" and typing in colab, it returns no results

You are trying in correct direction, but Google has removed that option from Google Drive, you have to go via Google Colab itself, and save to Colab Notebooks Folder.
From there you can open them into Google colab, but creating new notebooks directly from Google Drive is not available as it used to be in past few years

Step 1:
Sign into the site thru the link https://colab.research.google.com.
From there, there will be a Google Drive tab with the ability to create new notebooks.
Step 2:
Then, next to the notebook, to the direct right of the Last opened column there is a small folder icon and clicking on that will bring you to your Google drive folder called My Drive > Colab Notebooks

Related

How to download read-only recordings on Teams

Is there any way to download a read-only recording from a Teams class (without recording the screen)?
I have a shared OneDrive of lecture recordings, some can be downloaded and some cannot.
Thanks for your help and stay safe.
You can download videos using ffmpeg.
Before following these instructions, Please install ffmpeg to your PC.
Go to the recording URL. Now you can view the video but you have no option to download the video.
open dev tools in the browser and go to the Network tab.
Then reload the webpage again.
In the network tab, search the following command using the search area.
videomanifest?provider
click on the highlighted area and you can see the right panel is viewing some contents.
Scroll up to the top of this panel.
Now you can find the URL under Request URL.
Copy that entire URL.
Use this below command in cmd.
ffmpeg -i "PASTE_YOUR_COPIED_REQUEST_URL_HERE" -codec copy NAME_OF_DOWNLOADFILE.mp4
You can see downloading the video.
From my own testings I found out that:
you can always download your own recordings (=they're located in your OneDrive)
you can download if you are the meeting organizer (=recording is located in someone else's OneDrive but you can download nonetheless)
Test setup: 2 different Team meetings (scheduled from Outlook) within same organization, 1 with me as organizer, 1 with the other person - and then we both started a recording each. The organizer could always download.

Google Colab read file from Google Drive Sync Folder

I just uploaded gigabytes of photos to google drive using Google Backup and Sync(https://www.google.com/intl/en_as/drive/download/backup-and-sync/). But I cannot reach those file from Google Colab since it can only display files in "My Drive" but not /drive/Computer/MY Mac Book Pro/Files/... And I can not move those files to "My Drive", it saids server error. I am using free spaces account from G-suit.
I was having a similliar issue.. I dont know if this is what made it work for me, but try closing the back up and sync program

Colab: Google drive file stream access permission is a hassle. Is there a better way?

I use Google Colab extensively. In order to get an easy access to files in my Google drive, I mount the drive to the file system of the virtual machine that runs Colab. Like that:
from google.colab import drive as cdrive
cdrive.mount('/content/gdrive')
% cd /content/gdrive/'My Drive'/'Colab Notebooks'/my_directory
In the beginning of each session, I need to give a permission to access my drive. In order to do that, I need to press 'Allow', copy a one-time-password and paste it to a dedicated text area. It's a bit tedious.
Is there a better way? can I give a permanent permission based on my machine? any other ideas?
At this moment, we can access google drive with the Mount Drive button on the left menu bar.
Confirm the access Google Drive action.
Then it will be mounted to your Colab notebook.

Share a part of google drive on Colab

We are sharing a google drive folder where we put the colab notebooks. Now we need to upload some text files permanently for notebook usage. I do not want to upload files every time I open colab. From what I searched, I had to upload files to google drive and mount it to colab in some way.
So, when I mount google drive to colab, can my teammates access all my files in it, or simply the shared folder.If not, is there a way to share only a folder or a file of google drive in colab.
If you share a folder with your teammates in Google Drive then that folder will appear in each of their drive mounts in colab. Each person running code in a notebook (even if they share a notebook) gets their own VM. One person should never see another person's Drive mount.
An alternative to sharing a data-file folder in Drive is to upload your data to GCS and have your notebook fetch it from there (example).

VBA Code to automatically download a file from Google Drive

Does anyone have an example of VBA code to automatically download a file from Google Drive. I can get to viewing the file in Chrome but then I have to manually select 'Download'. I would like to press a button and then pick the downloaded file from my default 'Download' folder. No in-between intervention.
One option would be to launch the users default web browser with a direct link to download your file from Google Drive, this would prompt the user to Save As / Open your user guide in the same way that it would if they clicked to download a PDF from a website and so might be sufficient.
This question's answer details how to open a url in browser, and you can use this website to create direct download links from Google Drive share links.
Using the 'GetspecialFolder' UDF, you can download files from any cloud drive as simple as:
FileCopy GetSpecialFolder(vbDirGoogleDrive) & "MyFile.DOC", GetSpecialFolder(vbDirDownloads) & "MyFile.DOC"
http://www.EXCELGAARD.dk/Lib/GetSpecialFolder/