gooderp18绿色标准版
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

28 行
659B

  1. #!C:\odoobuild\WinPy64\python-3.12.3.amd64\python.exe
  2. # Author:
  3. # Contact: grubert@users.sf.net
  4. # Copyright: This module has been placed in the public domain.
  5. """
  6. man.py
  7. ======
  8. This module provides a simple command line interface that uses the
  9. man page writer to output from ReStructuredText source.
  10. """
  11. import locale
  12. try:
  13. locale.setlocale(locale.LC_ALL, '')
  14. except Exception:
  15. pass
  16. from docutils.core import publish_cmdline, default_description
  17. from docutils.writers import manpage
  18. description = ("Generates plain unix manual documents. "
  19. + default_description)
  20. publish_cmdline(writer=manpage.Writer(), description=description)
上海开阖软件有限公司 沪ICP备12045867号-1