pip install kaggle
# 使用pandas导入csv文件
pip install pandas
wget https://file.cz123.top/9others/AIfile/kaggle.json
mkdir .kaggle && mv kaggle.json .kaggle
chmod 600 .kaggle/kaggle.json
kaggle competitions download -c digit-recognizer
mkdir mnist
unzip digit-recognizer.zip -d mnist
rm digit-recognizer.zip
# 得到三个文件：
# sample_submission.csv test.csv 和train.csv

