Accéder au contenu principal

Cours

Case Study: Building Software in Python

Avancé3 h

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

Python3 h10 vidéos29 exercices2,050 XP2,311Attestation de réussite

Créez votre compte gratuit

Continuer avec Google
ou
En continuant, vous acceptez nos Conditions d’utilisation, notre notre Politique de confidentialité et que vos données sont stockées aux États-Unis.

Plébiscité par des apprenants dans des milliers d’entreprises

Description du cours

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.

Prérequis

Programme de formation

Plan du cours

1

Introduction to the Case Study

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.
Commencer le chapitre
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.
Commencer le chapitre
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.
Commencer le chapitre

Case Study: Building Software in Python

Cours
terminé

Obtenir un certificat d'achèvement

S’inscrire maintenant

Apprenez où que vous soyez avec l'application DataCamp

Même en déplacement, suivez quotidiennement nos cours mobiles et nos défis de codage de 5 minutes.