Python Custom Sequences and Mappings: Designing Pythonic Containers — LearnFlat
⏱ 2 h 48 min 📚 28 aulas 🎧 Versão em áudio

Python Custom Sequences and Mappings: Designing Pythonic Containers

Learn to build custom classes that behave like built-in lists, tuples, and dictionaries using Python's special methods and abstract base classes.

  • 💬 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

Want to write elegant Python code where your custom objects behave seamlessly like built-ins? Understanding Python's data model is the key to unlocking the true power of the language. In this text-based course, you will learn how to design and implement your own custom sequences and mappings. By mastering the protocols that govern lists, tuples, and dictionaries, you will write cleaner, more intuitive, and highly Pythonic code. What you'll learn: 1. Understand the foundational protocols of the Python data model, including key terminology and container types. 2. Implement custom sequence behaviors using special dunder methods like __getitem__ and __len__. 3. Build custom mapping classes that mimic dictionary behavior with custom validation rules. 4. Leverage the collections.abc module to implement abstract base classes efficiently. 5. Apply modern Python type hints to your custom container classes for better code reliability. 6. Practice writing clean, readable container classes through guided written exercises. The course starts with essential terminology and foundational concepts of Python's data model before moving on to practical implementations of custom sequences and mappings. You will read clear explanations, analyze structured code snippets, and complete written design exercises to solidify your understanding. This course is designed for Python learners who understand basic syntax and object-oriented programming and want to elevate their code to a professional level. Start reading today to master custom Python containers and write more elegant code.

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
    2 h 48 min de conteúdo prático

Avaliações

Ainda não há avaliações — seja o primeiro a compartilhar sua experiência.

Escrever uma avaliação

☆☆☆☆☆
Pediremos para fazer login após enviar — o rascunho fica salvo.

Perguntas frequentes

O que preciso para fazer este curso? +

Só um celular ou computador com internet. Sem instalações nem hardware especial.

Como faço para pagar? +

Com cartão via Stripe. Não guardamos dados do cartão — o Stripe processa com segurança.

Posso pedir reembolso? +

Sim — reembolso integral em 14 dias, sem perguntas.

Por quanto tempo terei acesso? +

Para sempre. Uma vez comprado, o curso é seu para revisar quando quiser.

Vou receber um certificado? +

Sim. Ao concluir, você recebe um certificado que pode adicionar ao seu perfil do LinkedIn.

Feito para profissionais em
Tecnologia Design Finanças Marketing Saúde Educação Hotelaria Indústria