CopyPastor

Detecting plagiarism made easy.

Score: 0.9987324852435315; Reported for: String similarity Open both answers

Possible Plagiarism

Reposted on 2022-08-21
by hotheadhacker

Original Post

Original - Posted on 2022-08-21
by hotheadhacker



            
Present in both answers; Present only in the new answer; Present only in the old answer;

This is the only simple solution that I found myself and is working like charm:
- Step 1: mount google drive normally: ```python from google.colab import drive
drive.mount("/content/drive")
```
- Step 2: while saving or fetching data from shared drive:
_a) Writing Data to shared drive_ ```python !cp "//content/drive/Shareddrives/<shared_ drive_name>/my-video.mp4" "my-video.mp4" ```
_b) Reading data from Shared Drive_ ```python !cat /content/drive/Shareddrives/<shared_ drive_name>/example.txt #or pd.read_csv("/content/drive/Shareddrives/<shared_ drive_name>/data_example.csv") ```

_Note: If it did not work try to changing name of share drive without spaces_
This is the only simple solution that I found myself and is working like charm:
- Step 1: mount google drive normally: ```python from google.colab import drive
drive.mount("/content/drive")
```
- Step 2: while saving or fetching data from shared drive:
_a) Writing Data to shared drive_ ```python !cp "//content/drive/Shareddrives/<shared_ drive_name>/my-video.mp4" "my-video.mp4" ```
_b) Reading data from Shared Drive_ ```python !cat /content/drive/Shareddrives/<shared_ drive_name>/example.txt #or pd.read_csv("/content/drive/Shareddrives/<shared_ drive_name>/data_example.csv") ```

_Note: If if it did not work try to changing name of share drive without spaces_

        
Present in both answers; Present only in the new answer; Present only in the old answer;