Skip to content

AitMahfoud-Rahma/DB_handling

Repository files navigation

DB_handling

Capture d’écran 2024-04-16 à 15 54 15

This Python script has been designed to process an Excel file containing data from an online form. It creates a new Excel file with selected columns, adapted as needed. This file will be used to automate the sending of letters to dog owners and/or veterinarians.

Prerequisites

Installing dependencies

Once you've installed Python, make sure you install the specific versions of the packages, using the requirements.txt file. Run the following command in your terminal or command prompt:

pip3 install -r requirements.txt

Running the script

The script can be run using the command line. Be sure to specify the path to the Excel data file as an argument. Here's an example:

python3 letters_adaptor.py /Users/aitmahfoud/Downloads/FICHE_DE_RENSEIGNEMENTS-4.xlsx

Output

The resulting file will be saved with a name similar to the input file, but with the suffix "_output.xlsx" added. For example, if the input file is "jotform.xlsx", the output file will be "jotform_output.xlsx".

NB

This code has been developed and tested with Python 3.12.1. If you have any problems or have any questions, please do not hesitate to contact me at [email protected].

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages