Horje
Setting up Colab for Kaggle Downloads Code Example
Setting up Colab for Kaggle Downloads
! pip install kaggle #  Install the Kaggle library
! mkdir ~/.kaggle # Make a directory named “.kaggle”
!cp /content/drive/MyDrive/kaggle.json ~/.kaggle/kaggle.json
"""
Copy the “kaggle.json” file from the mounted google drive to the current instance storage.
The Google drive is mounted under the “./content/drive/MyDrive” path. The json file is
stored in the G-Drive Root folder
"""
! kaggle competitions download -c <name of competition> # Download competition datasets from kaggle




Python

Related
Python String isalpha() Code Example Python String isalpha() Code Example
prime number checking algorithm Code Example prime number checking algorithm Code Example
python logging to syslog linux Code Example python logging to syslog linux Code Example
python bufferedreader Code Example python bufferedreader Code Example
str to datetime time Code Example str to datetime time Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
7