gooderp18绿色标准版
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

27 linhas
759B

  1. #!C:\odoobuild\WinPy64\python-3.12.3.amd64\python.exe
  2. # $Id: rst2html4.py 9115 2022-07-28 17:06:24Z milde $
  3. # Author: David Goodger <goodger@python.org>
  4. # Copyright: This module has been placed in the public domain.
  5. """
  6. A minimal front end to the Docutils Publisher, producing (X)HTML.
  7. The output conforms to XHTML 1.0 transitional
  8. and almost to HTML 4.01 transitional (except for closing empty tags).
  9. """
  10. try:
  11. import locale
  12. locale.setlocale(locale.LC_ALL, '')
  13. except Exception:
  14. pass
  15. from docutils.core import publish_cmdline, default_description
  16. description = ('Generates (X)HTML documents from standalone reStructuredText '
  17. 'sources. ' + default_description)
  18. publish_cmdline(writer_name='html4', description=description)
上海开阖软件有限公司 沪ICP备12045867号-1