[python-win32] How to use data on disk in this generator
Aahz
aahz at pythoncraft.com
Wed Jan 20 20:07:08 CET 2010
On Wed, Jan 20, 2010, Echavarria Gregory, Maria Angelica wrote:
>
> I use PythonWin32 in my XP machine. I am programming an application
> and have trouble with memory when using the sumComb list below, that
> has a size of 2,657,205 elements. I DO NEED this many elements because
> they are product of combinatorial math operations. To solve my memory
> problem I created a file on disk that stores the elements of the list
> as they are created. Now, I need to use the 'list' in a generator
> and have not been able to replicate the effect without actually
> calling/storing the list in memory, that is, using the data directly
> from the file on disk:
This doesn't seem like a win32-specific issue -- you may get better
responses by posting to comp.lang.python.
--
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
"If you think it's expensive to hire a professional to do the job, wait
until you hire an amateur." --Red Adair
More information about the python-win32
mailing list