Browse Source

First Version

Niko Hessler 7 years ago
commit
974644c1e6
2 changed files with 61163 additions and 0 deletions
  1. 61121 0
      DE.tab
  2. 42 0
      pvl.py

File diff suppressed because it is too large
+ 61121 - 0
DE.tab


+ 42 - 0
pvl.py

@@ -0,0 +1,42 @@
1
+import sys
2
+import os
3
+import random as rdm
4
+import sqlite3
5
+
6
+#Begruessung
7
+print ("-")*50
8
+print ("Luftlinienberechner")
9
+print ("Erstellt von Niko Hessler und Martin Mittrenga")
10
+print ("-")*50
11
+
12
+
13
+
14
+#Datei einlesen mit print als Test
15
+os.system("clear")
16
+f = open("/data/share/nhessler/DE.tab", "r")
17
+for line in f:
18
+    print[1:3]#line.rstrip()
19
+
20
+f.close()
21
+
22
+
23
+
24
+#Zuordnung zu einem Tupel
25
+        #tuple = ('loc_id','ags','ascii','name','lat','lon','amt','plz','vorwahl','einwohner','flaeche','kz','typ','level','of','invalid')
26
+        #tuple[0]
27
+
28
+
29
+
30
+#Startpunkt Auswahl
31
+startpunkt=(raw_input("Geben sie Ihren Startpunkt an: "))
32
+
33
+
34
+
35
+
36
+#Berechnung
37
+
38
+
39
+
40
+
41
+#Endpunkt Auswahl
42
+endpunkt=(raw_input("Geben sie Ihren Enpunkt an: "))