📜  将 Kaggle 连接到 Google Colab - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:30.491000             🧑  作者: Mango

代码示例1
! pip install kaggle # Install the Kaggle library
! mkdir ~/.kaggle # Make a directory named “.kaggle”
! cp kaggle.json ~/.kaggle/ # Copy the “kaggle.json” into this new directory
! chmod 600 ~/.kaggle/kaggle.json # Allocate the required permission for this file.
! kaggle competitions download  # Downloading Competitions dataset
! kaggle datasets download  # Downloading Datasets