Kaynağa Gözat

mise à jour pour localités réelles

master
Lapin-Blanc 3 yıl önce
ebeveyn
işleme
222e5fedb2
2 değiştirilmiş dosya ile 2832 ekleme ve 3 silme
  1. +6
    -3
      formulaire.py
  2. +2826
    -0
      liste-des-codes-postaux-belges-fr.csv

+ 6
- 3
formulaire.py Dosyayı Görüntüle

@@ -9,9 +9,12 @@ cursor = db.cursor()

cursor.execute("""PRAGMA foreign_keys=ON;""")
cursor.execute("""CREATE TABLE IF NOT EXISTS localites(
ID_Localite INTEGER PRIMARY KEY AUTOINCREMENT,
zipcode TEXT,
localite TEXT);
ID_Localite INTEGER PRIMARY KEY,
"zipcode" TEXT,
"localite" TEXT,
"sous-commune" TEXT,
"commune-principale" TEXT,
"province" TEXT);
""")
cursor.execute("""CREATE TABLE IF NOT EXISTS eleves(
ID_Eleve INTEGER PRIMARY KEY AUTOINCREMENT,


+ 2826
- 0
liste-des-codes-postaux-belges-fr.csv
Dosya farkı çok büyük olduğundan ihmal edildi
Dosyayı Görüntüle


Yükleniyor…
İptal
Kaydet