From: Michael A. M. <ma...@st...> - 2006-10-14 15:52:59
|
Hi Nicolas, > publish_file(source=file, destination=filename, > writer_name='html') You should change 'source=file' to 'source_path=file'. The 'source' keyword argument expects a file object (something returned from open (), for example). 'source_path' is used to give a path to docutils which it can then open/close itself. Hope that helps! Michael Alyn Miller |