Change the Printer class to implement multiple printer types

This commit is contained in:
n07070
2026-06-01 21:40:13 +02:00
parent 0e3cc46a41
commit 9e77e0980b
3 changed files with 132 additions and 62 deletions

18
src/printers.py Normal file
View File

@@ -0,0 +1,18 @@
"""
A collection of Printers.
It has methods to discover printers, and provides an interface for the methods expected from printers.
"""
from printer import Printer
class Printers():
"""
A collection of Printers
"""
def __init__(self, name, age):
self.name = name
self.age = age
def _discover_printers(self):
pass