Skip to content

This solution was developed in Python using the Flet framework to handle the needs of a freelancer job which required a solution to convert XML files to CSV.

Notifications You must be signed in to change notification settings

Lucas382/XmlToCsv

Repository files navigation

XmlToCsv Project Overview

This solution was developed in Python using the Flet framework to handle
the needs of a freelancer job which required a solution to convert XML files to CSV.


  • My initial goal for this project was to develop a reusable project template, so the components could be used again.

1_first_entry


  • The project includes a directory selector, which allows users to choose the appropriate folder containing the xml files.

2_xml_folder_selector_dialog


  • It remembers the last folder that the user inputted to facilitate the next conversion.

3 1_xml_folder_selected

Saved path on a Json file.

3 2_saved_dir_path


  • It features a save system that allows the user to choose where to save the CSV file.

4_save_xlsx_file_dialog


  • It also has an information console to track the current status of the conversion process.

Note: A 1-second delay was applied to simulate the processing of hundreds of XML files.

5_conversion_started

Example of a successful conversion.

6_success_conversion

Example of a failed conversion with the reason being no XML file in the selected folder.

7_error_no_xml_file

Example of a failed conversion with the reason being no XML directory specified.

8_error_no_xml_folder

Resulting CSV file as requested by the client.

result

Fake data


About

This solution was developed in Python using the Flet framework to handle the needs of a freelancer job which required a solution to convert XML files to CSV.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published