I generated a ~22-megabyte file with this small Python program:
print "["
for i in xrange(200):
print "'" + str(i) + "', "
print "]"
As the original poster suggested, Python uses at least several hundreds
of megabytes when execfile()ing that source. I had t
Enrique Palomo Jiménez wrote:
> The information will be used no more than 3-4 days a
> month and install databases is not allowed.
> [...]
> Someone suggest me the pickle module. I'll try it and it
> works, but pickle dumps is slower than writing the file
> with pythonic syntax. (26 seconds vs 6)
On friday i wrote a this message:
[...]
I'm writing an application who needs to handle a lot of information of several
files.
So, i think the better way is design a batch process to catch that information
in a dictionary and write it in a file.
So, after that when a user wants to retrieve somethi