Re: [python-win32] Sparse files and Pickle

2005-04-04 Thread Paul Moore
On Apr 4, 2005 5:29 PM, Tim Roberts <[EMAIL PROTECTED]> wrote: > If I needed to refer to an 89MB disk file in an > object, I would replace the data with the file name before pickling. I > thought pickle recognized a magic method name so the object could "help" > put itself into a picklable state,

Re: [python-win32] Sparse files and Pickle

2005-04-04 Thread Tim Roberts
On Sun, 3 Apr 2005 12:37:40 +0200, Graeme Glass <[EMAIL PROTECTED]> wrote: Could anyone tell me if it is possible to create a sparse file on win32 platform using python, and if so how? Sparse files are only supported on Windows 2000 and more, on NTFS partitions. You will not be able to use

[python-win32] Sparse files and Pickle

2005-04-03 Thread Graeme Glass
Could anyone tell me if it is possible to create a sparse file on win32 platform using python, and if so how? And just out of interest, what is the practical limit for pickling an object? I pickled a 89MB binary read from a disk file, and although it worked, hogged my PC for about 8minutes making

[python-win32] Sparse files and Pickle

2005-04-02 Thread Graeme Glass
Is there anyway to create a sparse file win32 platform using python? And out of interested what is the practical limit for pickling an object? I used pickle.dump() on a 89MB object (a binary read from a disk file) and although it worked, my PC was pretty unusable for the 8 minutes it took to pickl