Reorganize files

This commit is contained in:
Gabriel Augendre 2019-07-11 00:05:35 +02:00
parent e9209ffede
commit 8d2df2db0b
7 changed files with 4 additions and 4 deletions

0
data/__init__.py Normal file
View file

0
import/__init__.py Normal file
View file

View file

@ -24,6 +24,6 @@ with open("correspondance-code-insee-code-postal.json", "r") as f:
failed.append(base_item) failed.append(base_item)
import pprint import pprint
with open("cities.py", "w") as writef: with open("../data/cities.py", "w") as writef:
writef.write(pprint.pformat(mapping, indent=4, compact=True)) writef.write(pprint.pformat(mapping, indent=4, compact=True))
writef.flush() writef.flush()

View file

@ -2,9 +2,9 @@ import calendar
import datetime import datetime
import pprint import pprint
from departments import DEPARTMENTS from data.departments import DEPARTMENTS
from cities import CITIES from data.cities import CITIES
from countries import COUNTRIES, CONTINENTS from data.countries import COUNTRIES, CONTINENTS
class InseeData: class InseeData: