Lisätty pvm kml-tiedoston nimeen.
This commit is contained in:
geohärö 2017-01-30 12:09:17 +02:00 committed by GitHub
parent 3f1b4d19fd
commit e3b3c2853e

View file

@ -1,6 +1,6 @@
#!/usr/bin/python
# -*- coding: UTF-8 -*-
import os, sys
import os, sys, datetime
rawgeocachefi = """[LIITÄ LÖYTÖTAULUKKO PAIKKAKUNNITTAIN TÄHÄN]"""
@ -39877,7 +39877,9 @@ while k <= int(kuntia):
k = k + 1
with open("Kuntarajat.kml", "w") as f:
now = datetime.datetime.now()
tiedosto = "Kuntarajat" + now.strftime("%d%m%Y") + ".kml"
with open(tiedosto, "w") as f:
f.write(kuntarajat)
print(kuntarajat)
print('VALMIS')