What's the limit of variables size in pyhton?

mensanator at aol.com mensanator at aol.com
Mon Dec 31 17:24:50 EST 2007


On Dec 31, 4:05 pm, "هنداوى" <3D.v.Wo... at gmail.com> wrote:
> On Dec 31, 11:26 am, "James Matthews" <nytrok... at gmail.com> wrote:
>
> > However some Debuggers will not show you variable's that are too big!
>
> > On Dec 31, 2007 7:38 PM, Gabriel Genellina <gagsl-... at yahoo.com.ar> wrote:
>
> > > En Mon, 31 Dec 2007 15:40:31 -0200, هنداوى <3D.v.Wo... at gmail.com>
> > > escribi�:
>
> > > > Python allow you to only take care about variable name and ignore it's
> > > > size because pyhton dynamicly allocate it
> > > > so what's the limit in the allocated size in the memory
>
> > > As big as would fit on available memory.
>
> Is that mean that i can deal with files with size more than 2GB only
> if the available memory allow

No, files can be often be dealt with in manageable
chunks. Instead of reading the entire file into
memory, often it suffices to read in a line at a
time.



More information about the Python-list mailing list