Esta documentação é de uma versão antiga do Python que não é mais atualizada. Você deveria atualizar e ler a documentação do Python para versão estável atual.

Navegação

  • índice
  • módulos |
  • próximo |
  • anterior |
  • Python »
  • 3.7.17 Documentation »
  • A Biblioteca Padrão do Python »
  • |

Módulos Substituídos¶

Os módulos descritos neste capítulo são obsoletos e mantidos apenas para compatibilidade com versões anteriores. Eles foram substituídos por outros módulos.

  • 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
      • Outras Ações
      • 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
      • Análise de argumentos
      • 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
    • Exemplos

Tópico anterior

syslog — Rotinas da biblioteca syslog do Unix

Próximo tópico

optparse — Parser for command line options

Essa Página

  • Relatar um erro
  • Exibir Fonte

Navegação

  • índice
  • módulos |
  • próximo |
  • anterior |
  • Python »
  • 3.7.17 Documentation »
  • A Biblioteca Padrão do Python »
  • |
© Copyright 2001-2023, Python Software Foundation.
O Python Software Foundation é uma corporação sem fins lucrativos. Por favor, faça uma doação.
Última atualização em jun. 28, 2023. Encontrou um erro?
Criado usando o Sphinx 2.3.1.