Exemplo n.º 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())
Exemplo n.º 2
0
Arquivo: latex.py Projeto: CongWu/pyth
from pyth.plugins.latex.writer import LatexWriter
import pythonDoc

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