{"metadata":{"kernelspec":{"language":"python","display_name":"Python 3","name":"python3"},"language_info":{"name":"python","version":"3.12.13","mimetype":"text/x-python","codemirror_mode":{"name":"ipython","version":3},"pygments_lexer":"ipython3","nbconvert_exporter":"python","file_extension":".py"},"kaggle":{"accelerator":"none","dataSources":[],"dockerImageVersionId":28755,"isInternetEnabled":false,"language":"python","sourceType":"notebook","isGpuEnabled":false}},"nbformat_minor":4,"nbformat":4,"cells":[{"cell_type":"code","source":"","metadata":{"_uuid":"8f2839f25d086af736a60e9eeb907d3b93b6e0e5","_cell_guid":"b1076dfc-b9ad-4769-8c92-a6c4dae69d19","trusted":true},"outputs":[],"execution_count":null},{"cell_type":"code","source":"import zipfile\nimport os\n\n# Paths of the zip files\nimages_zip = \"/kaggle/input/competitions/galaxy-zoo-the-galaxy-challenge/images_training_rev1.zip\"\nlabels_zip = \"/kaggle/input/competitions/galaxy-zoo-the-galaxy-challenge/training_solutions_rev1.zip\"\n\n# Extraction folders\nimages_extract_path = \"/kaggle/working/images_training\"\nlabels_extract_path = \"/kaggle/working/training_solutions\"\n\n# Extract images\nwith zipfile.ZipFile(images_zip, 'r') as zip_ref:\n    zip_ref.extractall(images_extract_path)\n\n# Extract CSV zip\nwith zipfile.ZipFile(labels_zip, 'r') as zip_ref:\n    zip_ref.extractall(labels_extract_path)\n\nprint(\"Both files extracted successfully!\")","metadata":{"trusted":true,"execution":{"iopub.status.busy":"2026-06-22T12:48:16.913649Z","iopub.execute_input":"2026-06-22T12:48:16.914353Z","iopub.status.idle":"2026-06-22T12:48:31.069474Z","shell.execute_reply.started":"2026-06-22T12:48:16.914320Z","shell.execute_reply":"2026-06-22T12:48:31.068662Z"}},"outputs":[],"execution_count":null}]}