how do I save a dictionary, (below), to a txt file thats is in a tabular format?
i also need to be able to rload the txt file back into its dictionary form...
catalog = { 1:["Bread", 1.50, 10 ], 2:["Cheese", 5.00, 5], 3:["Apples", 2.50,12] }
eg.
1 Bread 1.50 10
2 Cheese 5.00 5
3 Apples 2.50 12
thanks in advance