https://github.com/davidix/convert-xls2csv
https://github.com/davidix/convert-xls2csv
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/davidix/convert-xls2csv
- Owner: davidix
- Created: 2024-01-31T11:00:43.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-31T11:09:17.000Z (over 2 years ago)
- Last Synced: 2025-01-25T16:42:27.335Z (over 1 year ago)
- Language: Python
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Excel to CSV Converter
A simple Python script to convert Excel files (.xlsx) to CSV files using parallel processing.
## Overview
This script uses the `concurrent.futures.ProcessPoolExecutor` to parallelize the conversion of multiple Excel sheets within Excel files in a specified directory. Each sheet is saved as a separate CSV file.
## Features
- Converts Excel files to CSV format
- Utilizes parallel processing for efficient conversion
- Handles errors gracefully and provides error messages for failed conversions
## Requirements
- Python 3.x
- pandas
- openpyxl
## Usage
1. Clone the repository:
```bash
git clone https://github.com/davidix/Convert-xls2csv.git
```
2. Navigate to the project directory:
```bash
cd excel-to-csv-converter
```
3. Install the required dependencies:
```bash
pip install -r requirements.txt
```
4. Run the script:
```bash
python excel_to_csv_converter.py
```
5. Enter the directory path when prompted.
## Example
```bash
Enter the directory path: /path/to/excel/files