win32: structured storage

tlviewer tlviewerSHRUB at yahooCHENEY.com
Fri May 6 17:27:30 EDT 2005


"Robert Kern" <rkern at ucsd.edu> wrote in message news:mailman.94.1115380268.29826.python-list at python.org...
> tlviewer wrote:
> 
> > Is there another way to parse the central directory out of
> > a CHM file?
> 
> google("chmlib python")

Anyone know the calling syntax for the functions?

PythonWin 2.3.2 (#49, Nov 13 2003, 10:34:54) [MSC v.1200 32 bit (Intel)] on win32.
Portions Copyright 1994-2001 Mark Hammond 
(mhammond at skippinet.com.au) - see 'Help/About PythonWin' for further copyright information.
>>> import os, sys
>>> import pychm._chmlib as chm
>>> obj=chm.chm_open('e:/batch/AdvCrypto')
>>> obj
>>> chm.chm_open('e:/batch/AdvCrypto')
>>> chm
<module 'pychm._chmlib' from 'E:\Python23\Lib\site-packages\pychm\_chmlib.pyd'>
>>> enm=chm.chm_enumerate()
Traceback (most recent call last):
  File "<interactive input>", line 1, in ?
TypeError: chm_enumerate() takes exactly 4 arguments (0 given)
>>> chm.chm_enumerate(obj)

I doubt if the build is good ...

regards,
tlviewer




More information about the Python-list mailing list