Пример #1
0
from __future__ import absolute_import
from __future__ import print_function
from pyth.plugins.plaintext.writer import PlaintextWriter
import pythonDoc

doc = pythonDoc.buildDoc()

print(PlaintextWriter.write(doc).getvalue())
Пример #2
0
from pyth.plugins.latex.writer import LatexWriter
import pythonDoc

if __name__ == "__main__":
    doc = pythonDoc.buildDoc()
    print LatexWriter.write(doc).getvalue()