Logo

이전 항목

syslog — 유닉스 syslog 라이브러리 루틴

다음 항목

optparse — Parser for command line options

현재 문서

  • 버그 보고하기
  • 소스 보기

탐색

  • 색인
  • 모듈 |
  • 다음 |
  • 이전 |
  • python logo
  • Python »
  • 3.8.20 Documentation »
  • 파이썬 표준 라이브러리 »
  • |

대체된 모듈¶

이 장에서 설명하는 모듈은 폐지되었으며 하위 호환성을 위해서만 유지됩니다. 다른 모듈에 의해 대체되었습니다.

  • optparse — Parser for command line options
    • Background
      • Terminology
      • What are options for?
      • What are positional arguments for?
    • Tutorial
      • Understanding option actions
      • The store action
      • Handling boolean (flag) options
      • Other actions
      • Default values
      • Generating help
        • Grouping Options
      • Printing a version string
      • How optparse handles errors
      • Putting it all together
    • Reference Guide
      • Creating the parser
      • Populating the parser
      • Defining options
      • Option attributes
      • Standard option actions
      • Standard option types
      • Parsing arguments
      • Querying and manipulating your option parser
      • Conflicts between options
      • Cleanup
      • Other methods
    • Option Callbacks
      • Defining a callback option
      • How callbacks are called
      • Raising errors in a callback
      • Callback example 1: trivial callback
      • Callback example 2: check option order
      • Callback example 3: check option order (generalized)
      • Callback example 4: check arbitrary condition
      • Callback example 5: fixed arguments
      • Callback example 6: variable arguments
    • Extending optparse
      • Adding new types
      • Adding new actions
  • imp — Access the import internals
    • Examples

이전 항목

syslog — 유닉스 syslog 라이브러리 루틴

다음 항목

optparse — Parser for command line options

현재 문서

  • 버그 보고하기
  • 소스 보기

탐색

  • 색인
  • 모듈 |
  • 다음 |
  • 이전 |
  • python logo
  • Python »
  • 3.8.20 Documentation »
  • 파이썬 표준 라이브러리 »
  • |
© 저작권 2001-2024, Python Software Foundation.
This page is licensed under the Python Software Foundation License Version 2.
Examples, recipes, and other code in the documentation are additionally licensed under the Zero Clause BSD License.

The Python Software Foundation is a non-profit corporation. Please donate.

최종 업데이트: 9월 08, 2024 Found a bug?
Created using Sphinx 2.4.4.