Bernard Lebel a écrit :
> Hello,
> 
> I would like to know if there is a way to know how much memory (bytes,
> kilobytes, megabytes, etc) a name is using.
> 
> More specifically, I have this list of strings that I want to write to
> a file as lines.
> This list grows througout the script execution, and toward the end,
> the file is written.

Do you really need to first grow the list then write it ?

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to