<s> from __future__ import ( <EOL> absolute_import , <EOL> print_function , <EOL> unicode_literals , <EOL> ) <EOL> from pydocx . export import PyDocXHTMLExporter , PyDocXMarkdownExporter <EOL> class PyDocX ( object ) : <EOL> @ staticmethod <EOL> def to_html ( path_or_stream ) : <EOL> return PyDocXHTMLExporter ( path_or_stream ) . export ( ) <EOL> @ staticmethod <EOL> def to_markdown ( path_or_stream ) : <EOL> return PyDocXMarkdownExporter ( path_or_stream ) . export ( ) </s>
