We have a 1000s of text files that are essentially json-esque type dumps (see a sample file). We want a python code that will parse the file can convert the fields into CSV file. There needs to be proper error handling as some files may be empty. Also the code should parse all the files in the folder and when successfully completed, move the files to the completed folder.
Hi
I have an extensive experience with Python. I believe I can do the project and deliver it quickly.
As far as I can see your dumps are python dictionaries serialized into strings. It makes them somewhat easier to deal with.
Could you please answer several questions? They will help me to better understand your needs.
1) Are there other files (not dumps or empty files) in the same folder?
2) How exactly do you want to convert these dumps into CSVs? How should they look? Could you post an example?
Thanks.
Hi,
I am available to work on the project immediately.
Please provide me few more different samples, so that I can understand the type of scenarios that have to be handled. Thank you.
I'm a experienced Python developer with best practices know-how.
The project will be done with Test-driven development.
The delivered code will be well documented and will contain unittests.