]> AND Private Git Repository - predictops.git/blob - predictops/target/all.py
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
0d9d72b16978614544999982bc9882f4355ba3bb
[predictops.git] / predictops / target / all.py
1 from csv import DictReader
2
3 class All:
4
5     _start = None
6     _end   = None
7
8     def __init__(self, stream_file = None):
9         self._stream_file = stream_file
10         self._get_located_interventions()
11
12
13     def _get_located_interventions(self):
14         with open(self._stream_file) as f:
15             reader = DictReader(f, delimiter=',')
16             for row in reader:
17                 print(row)
18