lepto.python at gmail.com
Sat Aug 9 05:34:35 CEST 2008
there is 2 files: text2pdf.py and cab.py
but I get a cab, in which there is a file text2pdf.py in it, but
cab.py is created as a directory!
[your cab.py starts]
if __name__ == "__main__":
import os, glob
hfci = HFCI("my-first.cab", verbose=1)
files = glob.glob(r"*.py")
for fnm in files:
[/your cab.py ends]
> From: Thomas Heller <theller at python.net>
> To: python-list at python.org
> Date: Fri, 08 Aug 2008 16:29:10 +0200
> Subject: Re: CAB files
> Virgil Stokes schrieb:
> > I would appreciate python code for creating *.cab files.
> > --V. Stokes
> Here is some code that I have still laying around. It has never been
> used in production and I do not know what you can do with the cab files
> it creates, but I have been able to create a cab and open it with winzip.
More information about the Python-list