Example #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())
Example #2
0
File: latex.py Project: CongWu/pyth
from pyth.plugins.latex.writer import LatexWriter
import pythonDoc

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