File Read/Write test program

Fredrik Lundh fredrik at pythonware.com
Fri Jan 10 09:40:32 CET 2003


Manuel M. Garcia wrote:

> meg = "*" * (1048576 * 20)
>
> gives you a string of length 1048576 * 20 in one step

interestingly enough,

    meg = "*" * 1048576 * 20

gives you the same result in much less time.

</F>






More information about the Python-list mailing list