On 2005-06-06, Jan Danielsson <[EMAIL PROTECTED]> wrote:

>    Is there any way to create a file with a specified size?

Sure:  

 1) Open a new file for writing.
 2) Seek to "specified size"-1.
 3) Write one byte. 

-- 
Grant Edwards                   grante             Yow!  I just put lots of
                                  at               the EGG SALAD in the SILK
                               visi.com            SOCKS --
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to