{"metadata":{"kernelspec":{"language":"python","display_name":"Python 3","name":"python3"},"language_info":{"name":"python","version":"3.11.13","mimetype":"text/x-python","codemirror_mode":{"name":"ipython","version":3},"pygments_lexer":"ipython3","nbconvert_exporter":"python","file_extension":".py"},"kaggle":{"accelerator":"none","dataSources":[{"sourceId":97984,"databundleVersionId":14096757,"sourceType":"competition"}],"dockerImageVersionId":31239,"isInternetEnabled":true,"language":"python","sourceType":"notebook","isGpuEnabled":false}},"nbformat_minor":4,"nbformat":4,"cells":[{"cell_type":"code","source":"import os\nimport glob\nimport shutil\nimport tqdm\n\ncsv_files = glob.glob(\n    os.path.join(\"/kaggle/input/physionet-ecg-image-digitization/train\", \"**\", \"*.csv\"),\n    recursive=True\n)\nos.makedirs(\"csv_files\", exist_ok=True)\nfor f in tqdm.tqdm(csv_files):\n    shutil.copy(f, \"csv_files\")","metadata":{"_uuid":"8f2839f25d086af736a60e9eeb907d3b93b6e0e5","_cell_guid":"b1076dfc-b9ad-4769-8c92-a6c4dae69d19","trusted":true,"execution":{"iopub.status.busy":"2025-12-26T23:17:28.704078Z","iopub.execute_input":"2025-12-26T23:17:28.704440Z","iopub.status.idle":"2025-12-26T23:17:31.707444Z","shell.execute_reply.started":"2025-12-26T23:17:28.704415Z","shell.execute_reply":"2025-12-26T23:17:31.706577Z"}},"outputs":[],"execution_count":null}]}