[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

Re: [python-win32] Handle to a Driver

2005-04-03 Thread Chi Tai
i've found the faulty. For those interested in: win32file.DeviceIoControl transfers a string or character array, thus a numerical value like a handle is also transfered as a character array and the cast operation within the driver does not result in a valid handle. str(ReadEvent) would give you

[python-win32] Fnorb problems

2005-04-03 Thread Rodrigo Baptista
Hi im using Python-2.3.5.exe and Fnorb-1.3.win32.exe and i want to use the fnidl to compile idl files. The instalation of fnorb goes ok, but when i execute fnidl it comes this: C:\Python23\Scriptsfnidl Traceback (most recent call last): File C:\Python23\Lib\site-packages\Fnorb\script\fnidl.py,