Ao selecionar um país você vê os cursos disponíveis na sua região.
⏱ 3 h📚 30 aulas🎧 Versão em áudio
Building Command Line Interfaces with argparse
Learn to construct professional command-line tools in Python, from processing basic arguments to recreating classic terminal utilities.
💬Instrutor de IA Pergunte sobre qualquer aula e receba uma resposta clara na hora, quando quiser.
🕐Comece quando quiser Sem horários nem prazos: aprenda no seu ritmo, quando quiser.
🌐Em português Aulas, tarefas e certificado: tudo totalmente no seu idioma.
Sobre este curso
Command-line tools are the backbone of automation, system administration, and developer workflows. To build robust scripts, you need a reliable way to handle user inputs, flags, and options directly from the terminal. This course guides you through Python's built-in argparse library, showing you how to turn simple scripts into polished, user-friendly terminal applications.
You will start by mastering foundational CLI concepts, including arguments, options, and flags, before writing clean, self-documenting code. Through structured text explanations and code examples, you will learn how to parse inputs, handle errors gracefully, and even recreate the functionality of classic terminal utilities like file hashing tools. You will also explore modern Python practices, including type hints and structured code formatting, to keep your CLI code maintainable.
What you'll learn:
- Understand core CLI concepts, including positional arguments, optional flags, and help messages
- Configure the argparse library to validate and parse user inputs automatically
- Implement custom error handling to guide users when they provide incorrect parameters
- Recreate real-world terminal utilities to hash files and process system data
- Apply modern Python type hints to ensure your CLI code is robust and readable
- Structure your command-line scripts for easy distribution and execution
This course begins with fundamental definitions and setup instructions, gradually moving from simple single-argument scripts to complex multi-flag utilities. You will read comprehensive breakdowns of the argparse API and review practical code implementations.
This course is designed for beginner Python developers and system administrators who want to automate tasks and build clean terminal tools. No prior experience with command-line design is required.
Start reading today and build your first professional Python CLI tool.
O que você vai receber
📜Certificado de conclusão Adicione ao seu perfil do LinkedIn
💬Tutor AI pessoal Travou em uma aula? Pergunte ao seu tutor integrado qualquer coisa, a qualquer hora.
🎧Versão em áudio incluída Estude em qualquer lugar, sem tela
♾️Acesso vitalício Volte quando quiser, sem expirar
📱Celular ou computador Funciona em qualquer dispositivo
💸Reembolso em 14 dias Sem perguntas
⚡Curto e focado 3 h de conteúdo prático
Certificado de conclusão
Cada curso que você conclui na PickAClass emite uma credencial como esta — original, com seu próprio código, verificável por URL e detalhada sobre o que foi de fato demonstrado.
P
PickAClass
Perfil de habilidades · verificável
Documento
Certificado de Maestria
Isto certifica que
Nome Sobrenome
demonstrou com sucesso o domínio de
Building Command Line Interfaces with argparse
Habilidades demonstradas
✓
Análise de padrões comportamentais
Fundamental
1.2 h
✓
Estruturas de arquitetura de decisão
Proficiente
1.4 h
✓
Design de testes A/B
Proficiente
1.7 h
✓
Redação comportamental
Avançado
1.9 h
P
PickAClass — Nome Sobrenome
Building Command Line Interfaces with argparse
Página 2 de 2
Detalhe de desempenho
Resumo do curso
Aulas concluídas14 / 14
Questões de prática26 / 28
Tarefas enviadas4 (méd. 4.5 / 5)
Projeto finalAvaliado — 4.6 / 5
Prática total6.2 h
Benchmark de desempenho
Posição na coorteTop 12% de 1,625
Tempo até concluir11 dias (mediana: 22)
Pontuação de domínio91 / 100
Pontuação das questões de prática94%
Verificação de habilidadeTrilha de habilidade verificada