Creating a file with $SIZE

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Sun Mar 16 20:39:56 CET 2008


En Wed, 12 Mar 2008 09:37:58 -0200, k.i.n.g. <nkanthikiran at gmail.com>  
escribi�:

> We use dd command in Linux to create a file with of required size. In
> similar way, on windows I would like to use python to take the size of
> the file( 50MB, 1GB ) as input from user and create a uncompressed
> file of the size given by the user.

The equivalent command on Windows would be:

fsutil file createnew filename size

-- 
Gabriel Genellina




More information about the Python-list mailing list