1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
| # suche aus Beschreibung die Station aus gewünsche Bundesland
| import sys
|
| from wettercdc.WetterStation import WetterStation
|
| filename = sys.argv[1]
| stations = []
|
| with open(filename, 'r') as f:
| ignore_lines = 2
| for i in range(ignore_lines):
| f.readline()
|
| for line in f.readlines():
| #TODO: mach was mit line
| stations.append( WetterStation(line) )
| pass
|
| print('DONE', len(stations))
|
|