gooderp18绿色标准版
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

26 行
713B

  1. #!C:\odoobuild\WinPy64\python-3.12.3.amd64\python.exe
  2. # $Id: rstpep2html.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 HTML from PEP
  7. (Python Enhancement Proposal) documents.
  8. """
  9. try:
  10. import locale
  11. locale.setlocale(locale.LC_ALL, '')
  12. except Exception:
  13. pass
  14. from docutils.core import publish_cmdline, default_description
  15. description = ('Generates (X)HTML from reStructuredText-format PEP files. '
  16. + default_description)
  17. publish_cmdline(reader_name='pep', writer_name='pep_html',
  18. description=description)
上海开阖软件有限公司 沪ICP备12045867号-1