codehaus


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Help on dictionaries...


On 30/01/20 2:14 PM, Souvik Dutta wrote:
> Hey I was thinking how I can save a dictionary in python(obviously) so that
> the script is rerun it automatically loads the dictionary.


Perhaps a YAML or JSON file (which follow a very similar format and 
structure to Python dicts), or a 'NoSQL' database such as MongoDB.

-- 
Regards =dn