[SciPy-User] Saving Graphs
Wed Dec 2 11:04:35 CST 2009
> Hi all!
> In the simulations I write I have to save very often the graph, with
> all the attributes.
> If I save it using gml or something like this, I end up with many
> (say: thousands) of very small files, which are not very practical to
> carry around and tend to full the filesystem very quickly.
> I am looking for a way to save graphs (even not single graphs, but
> rather more graphs in the same file) which is a little more clever.
> So far I have been looking at pickling the whole thing, but I find it
> rather unsatisfactory.
> I have heard of hdf (or something like this). Looks to me that the
> overhead to use it is rather big.
> Someone has highlights, remarks, advice?
> Thank you in advance,
> restituiremo il riso ai salici
> SciPy-User mailing list
Depending on the size and number of graphs, you may consider storing
them as BLOBs in a sqlite <http://docs.python.org/library/sqlite3.html>
relational store (or stores). sqlite is easy to use and is included in
recent distributions of python.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SciPy-User