How to write temporary data to file?

Thomas Ploch Thomas.Ploch at gmx.net
Tue Jan 9 05:17:43 CET 2007


Hi folks,

I have a data structure that looks like this:

d = {
	'url1': {
		'emails': ['a', 'b', 'c',...],
		'matches': ['d', 'e', 'f',...]
	},
	'url2': {...
}

This dictionary will get _very_ big, so I want to write it somehow to a
file after it has grown to a certain size.

How would I achieve that?

Thanks,
Thomas



More information about the Python-list mailing list