Treffer: Exception Handling & Object-Oriented Programming in Python

Title:
Exception Handling & Object-Oriented Programming in Python
Publisher Information:
Zenodo
Publication Year:
2025
Collection:
Zenodo
Document Type:
Report report
Language:
unknown
DOI:
10.5281/zenodo.16080831
Rights:
Creative Commons Attribution 4.0 International ; cc-by-4.0 ; https://creativecommons.org/licenses/by/4.0/legalcode
Accession Number:
edsbas.5445C342
Database:
BASE

Weitere Informationen

This report documents a student practicum project focused on implementing exception handling and object-oriented programming (OOP) in Python. The work includes the use of: Custom exception classes (InvalidAgeException, InvalidGenderException, InvalidEmailException) Encapsulation with getter and setter methods Input validation using try-except-else-finally blocks Regular expressions (regex) for email verification Defensive programming using loops and exception chaining Developed as part of a practical session in the Data Science program at UPN "Veteran" Jawa Timur, this project serves as an educational resource for beginner to intermediate learners of Python.