Pular para o conteúdo principal
InícioPython

Case Study: Building Software in Python

Build real-world applications with Python—practice using OOP and software engineering principles to write clean and maintainable code.

Comece O Curso Gratuitamente
3 horas10 vídeos29 exercícios

Crie sua conta gratuita

GoogleLinkedInFacebook

ou

Ao continuar, você aceita nossos Termos de Uso, nossa Política de Privacidade e que seus dados são armazenados nos EUA.
Group

Treinar 2 ou mais pessoas?

Tentar DataCamp for Business

Amado por alunos de milhares de empresas


Descrição do Curso

This course offers a hands-on introduction to software engineering by guiding you through the development of a practical application: a mortgage calculator. You’ll learn how to calculate monthly payments based on key inputs like loan amount, interest rate, and loan term. Along the way, you’ll apply essential software engineering principles to create code that is efficient, modular, and maintainable.

What You’ll Build

Using Python, you’ll design and implement a mortgage calculator that evolves from a basic tool into a robust solution. Starting with simple modules, you’ll expand the functionality using inheritance to create advanced calculators, including one that handles financial computations. This hands-on project will help you understand real-world software development techniques and how to structure scalable code.

Techniques You’ll Use

Throughout the course, you’ll follow best practices like the DRY (Don’t Repeat Yourself) principle and modularity to organize your code effectively. You’ll adhere to PEP 8 standards, use tools like Pylint to maintain code quality and write automated tests with pytest to ensure your application’s reliability. By the end of the course, you’ll have the skills to design, implement, and test real-world software solutions with confidence.
Para Empresas

Treinar 2 ou mais pessoas?

Obtenha acesso à sua equipe à plataforma DataCamp completa, incluindo todos os recursos.
DataCamp Para EmpresasPara uma solução sob medida , agende uma demonstração.
  1. 1

    Introduction to the Case Study

    Gratuito

    Get to know the brief and start building your calculators from scratch while recapping important object-oriented and software engineering principles such as the Don't Repeat Yourself (DRY) principle.

    Reproduzir Capítulo Agora
    Introducing the challenge
    50 xp
    BasicCalculator
    100 xp
    FinancialCalculator
    100 xp
    Software engineering principles
    50 xp
    Principles of Software Engineering
    100 xp
    Relative imports
    100 xp
    Absolute imports
    100 xp
    Inheritance reuses code
    50 xp
    Multilevel inheritance
    50 xp
    Create the mortgage calculator class
    100 xp
  2. 2

    Write a Python Module

    The basics are done, and now it's time to spruce them up! Continue with adding documentation and automated testing, and extend the functionality even further.

    Reproduzir Capítulo Agora
  3. 3

    Maintainability

    The main code is written so now it's time to make sure everything works as it should and follows the best practices. Learn how to review, refactor, and improve your code, as well as run more comprehensive tests.

    Reproduzir Capítulo Agora
Para Empresas

Treinar 2 ou mais pessoas?

Obtenha acesso à sua equipe à plataforma DataCamp completa, incluindo todos os recursos.

colaboradores

Collaborator's avatar
George Boorman
Collaborator's avatar
Arne Warnke
Collaborator's avatar
Katerina Zahradova

pré-requisitos

Intermediate Object-Oriented Programming in PythonSoftware Engineering Principles in Python
Mark Pedigo HeadshotMark Pedigo

Principal Data Scientist

Ver Mais

O que os outros alunos têm a dizer?

Junte-se a mais de 15 milhões de alunos e comece Case Study: Building Software in Python hoje mesmo!

Crie sua conta gratuita

GoogleLinkedInFacebook

ou

Ao continuar, você aceita nossos Termos de Uso, nossa Política de Privacidade e que seus dados são armazenados nos EUA.