Chris wrote:
>    tempbase = tempfile.mktemp()
>    tempdoc = os.path.join(tempfile.tempdir, tempbase + ".doc")
>    temphtml = os.path.join(tempfile.tempdir, tempbase + ".html")
>    command = worddoc_converter
>    command = command + " -d " + tempfile.tempdir + " -b " + tempbase
>    command = command + " " + tempdoc + " > " + temphtml
>then all converted docs would have their own (correct) images. Cleaning up
>the temp files is easily done just before Spider.py exits.

I'm not too familiar with Python, but does it clean up the temp files for
you?  Or will this keep creating temp directories with a bunch of temp
files?

Bill




_______________________________________________
plucker-dev mailing list
[EMAIL PROTECTED]
http://lists.rubberchicken.org/mailman/listinfo/plucker-dev

Reply via email to