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.
- The project includes a directory selector, which allows users to choose the appropriate folder containing the xml files.
- It remembers the last folder that the user inputted to facilitate the next conversion.
Saved path on a Json file.
- It features a save system that allows the user to choose where to save the CSV file.
- 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.
Example of a successful conversion.
Example of a failed conversion with the reason being no XML file in the selected folder.
Example of a failed conversion with the reason being no XML directory specified.
Resulting CSV file as requested by the client.
Fake data