Skip to main content

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

  1. Clone the repository or download the source code.
  2. Navigate to the project directory in your terminal.
  3. 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.

Alt text

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

automation_tools-1.0.5.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

automation_tools-1.0.5-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file automation_tools-1.0.5.tar.gz.

File metadata

  • Download URL: automation_tools-1.0.5.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.8.0

File hashes

Hashes for automation_tools-1.0.5.tar.gz
Algorithm Hash digest
SHA256 1f3694e1b90874ae67244cf984bc9d084e762fe70819eb0fe97d54e277e312bf
MD5 33d20bea124dbefe79e82ec088893f7e
BLAKE2b-256 4727ce4e1a4bf4a881448688cb8fce9b31730374966ec6b4165993f07d454ad1

See more details on using hashes here.

File details

Details for the file automation_tools-1.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for automation_tools-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 0dcadfeab3b3b986d8882548acfa4156d9b9d03e1ff14e780f0dd3d2a96595c9
MD5 0a9afdd31ef037c8968035672eef42fd
BLAKE2b-256 4702ca8d1cb75478cdcc3e201bf5cc92e5d3ad95b05c8cdbb3d1c550fea4e478

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page