Learn practical skills, build real-world projects, and advance your career
pip install opendatasets --upgrade
Requirement already satisfied: opendatasets in c:\users\hp\anaconda3\lib\site-packages (0.1.22) Requirement already satisfied: tqdm in c:\users\hp\anaconda3\lib\site-packages (from opendatasets) (4.61.2) Requirement already satisfied: kaggle in c:\users\hp\anaconda3\lib\site-packages (from opendatasets) (1.5.12) Requirement already satisfied: click in c:\users\hp\anaconda3\lib\site-packages (from opendatasets) (8.0.1) Requirement already satisfied: colorama in c:\users\hp\anaconda3\lib\site-packages (from click->opendatasets) (0.4.4) Requirement already satisfied: six>=1.10 in c:\users\hp\anaconda3\lib\site-packages (from kaggle->opendatasets) (1.16.0) Requirement already satisfied: python-dateutil in c:\users\hp\anaconda3\lib\site-packages (from kaggle->opendatasets) (2.8.2) Requirement already satisfied: urllib3 in c:\users\hp\anaconda3\lib\site-packages (from kaggle->opendatasets) (1.26.6) Requirement already satisfied: python-slugify in c:\users\hp\anaconda3\lib\site-packages (from kaggle->opendatasets) (6.1.1) Requirement already satisfied: requests in c:\users\hp\anaconda3\lib\site-packages (from kaggle->opendatasets) (2.25.1) Requirement already satisfied: certifi in c:\users\hp\anaconda3\lib\site-packages (from kaggle->opendatasets) (2021.5.30) Requirement already satisfied: text-unidecode>=1.3 in c:\users\hp\anaconda3\lib\site-packages (from python-slugify->kaggle->opendatasets) (1.3) Requirement already satisfied: idna<3,>=2.5 in c:\users\hp\anaconda3\lib\site-packages (from requests->kaggle->opendatasets) (2.10) Requirement already satisfied: chardet<5,>=3.0.2 in c:\users\hp\anaconda3\lib\site-packages (from requests->kaggle->opendatasets) (4.0.0) Note: you may need to restart the kernel to use updated packages.
import opendatasets as od
od.download('stackoverflow-developer-survey-2020')
Using downloaded and verified file: .\stackoverflow-developer-survey-2020\survey_results_public.csv Using downloaded and verified file: .\stackoverflow-developer-survey-2020\survey_results_schema.csv Using downloaded and verified file: .\stackoverflow-developer-survey-2020\README.txt
import os 
os.listdir('stackoverflow-developer-survey-2020')
['README.txt', 'survey_results_public.csv', 'survey_results_schema.csv']