from DataManager import DataManager from Mariadb import Mariadb from Employee import Employee data_manager = DataManager(Mariadb()) employee = Employee(0, 'Reke Imre', 'Szeged', 4740000) data_manager.insertEmployee(employee) employees = data_manager.getEmployees() for employee in employees: print(employee.name)