A suite of automation tools for various tasks.
Project description
Excel to CSV Converter
The Excel to CSV Converter is a Python script that allows you to convert Excel files (.xlsx) into CSV (Comma-Separated Values) format. It provides a graphical user interface (GUI) built with Tkinter for easy file selection and conversion.
Features
- Convert multiple Excel files into CSV format simultaneously.
- Graphical user interface (GUI) for intuitive operation.
- Displays sheet names of loaded Excel files.
- Handles error cases gracefully with informative error messages.
Dependencies
- Python 3.x
- openpyxl (Python library for reading and writing Excel files)
Installation
- Make sure you have Python 3.x installed on your system. (If not, download and install it from python.org).
- Install the required Python library using pip:
- pip install openpyxl
Usage
- Clone the repository or download the source code.
- Navigate to the project directory in your terminal.
- Run the script using Python:
- python excel_to_csv_converter.py
- Click on "Load XLSX Files" to select one or more Excel files (.xlsx) you want to convert.
- Click on "Select Output Directory" to choose the directory where you want to save the converted CSV files.
- Click on "Convert to CSV" to start the conversion process.
- Once the conversion is complete, the script will display the number of CSV files generated.
Quickstart
import tkinter as tk
from automation_tools.excel_to_csv_converter import ExcelToCsvConverter
def main():
root = tk.Tk()
root.title("Excel to CSV Converter")
app = ExcelToCsvConverter(root)
root.mainloop()
if __name__ == "__main__":
main()
The code produces the following graphical user interface for converting Excel files to csv files.
How to Contribute
Contributions to improve Excel to CSV Converter are welcome! Here's how you can contribute:
Fork the repository. Make your changes and enhancements. Submit a pull request with a clear description of your changes.
License
This project is licensed under the MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file automation_tools-1.0.4.tar.gz
.
File metadata
- Download URL: automation_tools-1.0.4.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b09503d45a37133904fae10626a32d89d27bd0bff9692b8dbed44e1e3a5d1db |
|
MD5 | 79be93b82a29958cfc4e350603ec3c14 |
|
BLAKE2b-256 | 916660cded98bc34f7529e418f25f45c9eab54b4420c2c2063e91c3e2321bd4c |
File details
Details for the file automation_tools-1.0.4-py3-none-any.whl
.
File metadata
- Download URL: automation_tools-1.0.4-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e100d87050252e7b0231df9a3d01dcadab11dcf2cdc541dd387299de29f95bcb |
|
MD5 | 08ce3af619c12d9f9cd9ded95bf346a1 |
|
BLAKE2b-256 | 44de34818a2a3bed5eec9c461896f50ca837825bc17ea27564b29215bbf7a5ae |