Did I find the right examples for you? yes no

All Samples(8)  |  Call(0)  |  Derive(0)  |  Import(8)

src/p/y/pyth-0.5.6/examples/writing/xhtml.py   pyth(Download)
from pyth.plugins.xhtml.writer import XHTMLWriter
import pythonDoc
 
 
docTemplate = '''<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

src/p/y/pyth-0.5.6/examples/reading/xhtml.py   pyth(Download)
# -*- coding: utf-8 -*-
 
from pyth.plugins.xhtml.reader import XHTMLReader
from pyth.plugins.xhtml.writer import XHTMLWriter
import xhtml

src/p/y/pyth-0.5.6/examples/reading/rtf15.py   pyth(Download)
from pyth.plugins.rtf15.reader import Rtf15Reader
from pyth.plugins.xhtml.writer import XHTMLWriter
 
import sys
 

src/p/y/pyth-HEAD/examples/writing/xhtml.py   pyth(Download)
from pyth.plugins.xhtml.writer import XHTMLWriter
import pythonDoc
 
 
docTemplate = '''<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

src/p/y/pyth-HEAD/examples/reading/xhtml.py   pyth(Download)
# -*- coding: utf-8 -*-
 
from pyth.plugins.xhtml.reader import XHTMLReader
from pyth.plugins.xhtml.writer import XHTMLWriter
import xhtml

src/p/y/pyth-HEAD/examples/reading/rtf15.py   pyth(Download)
from pyth.plugins.rtf15.reader import Rtf15Reader
from pyth.plugins.xhtml.writer import XHTMLWriter
 
import sys
 

src/v/i/VisTrails-HEAD/vistrails/packages/spreadsheet/widgets/richtext/richtext.py   VisTrails(Download)
                else:
                    from pyth.plugins.rtf15.reader import Rtf15Reader
                    from pyth.plugins.xhtml.writer import XHTMLWriter
                    doc = Rtf15Reader.read(fp)
                    html = XHTMLWriter.write(doc).read() # gets bytes

src/o/p/Open-Knesset-HEAD/simple/management/commands/parse_remote.py   Open-Knesset(Download)
# -*- coding: utf-8 -*-
from urllib import urlopen
from pyth.plugins.rtf15.reader import Rtf15Reader
from pyth.plugins.xhtml.writer import XHTMLWriter
from tempfile import TemporaryFile