This piece of code does not work in Vscode:
# Run this cell and select the kaggle.json file downloaded from the Kaggle account settings page.
from google.colab import files
files.upload()
ImportError Traceback (most recent call last)
Cell In [2], line 2
1 # Run this cell and select the kaggle.json file downloaded from the Kaggle account settings page.
----> 2 from fileinput import files
3 files.upload()
ImportError: cannot import name 'files' from 'fileinput' (c:\Users\user\AppData\Local\Programs\Python\Python310\lib\fileinput.py)