-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCollectionMain.py
More file actions
21 lines (15 loc) · 794 Bytes
/
Copy pathCollectionMain.py
File metadata and controls
21 lines (15 loc) · 794 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
from DataCollection.CollectionManager import CollectionManager
from DataCollection.DataGatherer import DataGatherer
from FileManager.SaveToFileInteractor import SaveToFileInteractor
from DataCollection.TextDataOutputBoundary import TextDataOutputBoundary
from DataCollection.TextOutputReceiver import TextOutputReceiver
def main():
gatherer_receiver = TextOutputReceiver()
gatherer_output_boundary = TextDataOutputBoundary(gatherer_receiver)
data_gatherer = DataGatherer(gatherer_output_boundary)
manager_output_boundary = SaveToFileInteractor("data\ ")
collection_manager = CollectionManager(data_gatherer, gatherer_receiver, manager_output_boundary,
5, 5)
collection_manager.run()
if __name__ == "__main__":
main()