Change the Printer class to implement multiple printer types
This commit is contained in:
18
src/printers.py
Normal file
18
src/printers.py
Normal 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
|
||||
Reference in New Issue
Block a user