close method on ole object does not work in Python 2.7
The close method is not working on a ole object.
Doing this command
ole = OleFileIO_PL.OleFileIO('myfile.doc')
does not close the file and release the file handle.
I know this because I am running a script that does a directory crawl using OleFileIO to extract information from certain files. The script crashes with a ioerror 24, too many open files.
I have also tested this in IDLE with the same result. Idle capture **>>> ole=OleFileIO_PL.OleFileIO(mxd_file)
ole.close( 512 ole.close ole.SectorSize 512**