-1
I am creating a program in Python that needs to store some settings and also need to save the data in a file of its own (Like Autocad that generates files in the format . DWG). So far I’ve used a database for both situations (I’ve put a database inside a file. ZIP because I need to store some pictures too).
But I do not know if this is the best option, because there are several others (.INI, .XML, .JSON, etc...). So, which is the best option?
Edit:
Besides storing the settings I also need to store some data in a proper extension (meu_file.banana for example) as when you create a document in Word, it will create a file . DOCX, which only WORD can read. I also want to know how to store the data in this case (I also need to store images in this case).