diff options
author | Lionel <lionel.miquel46@gmail.com> | 2018-10-04 08:13:08 +0200 |
---|---|---|
committer | Lionel <lionel.miquel46@gmail.com> | 2018-10-04 08:13:08 +0200 |
commit | 8fd35574400834517db2a51e92eba970f614843e (patch) | |
tree | efc032a6f130e80b0422159724654fadce6e99ce /init.py | |
parent | 0943dd142523b53e3748987fd16c77e6567c2fab (diff) | |
download | randopitons-8fd35574400834517db2a51e92eba970f614843e.tar.gz randopitons-8fd35574400834517db2a51e92eba970f614843e.zip |
On a encore plus nettoyé tout ce bazard, on va maintenant améliorer le sctrip
t pour le parsing des fichiers
Diffstat (limited to 'init.py')
-rw-r--r-- | init.py | 21 |
1 files changed, 17 insertions, 4 deletions
@@ -1,15 +1,28 @@ import os -from choices import mapfileinput +import inputs foldernames=["Cirque de Cilaos","Cirque de Mafate","Cirque de Salazie","Est","Nord","Ouest","Sud","Volcan","Ailleurs","All"] totalfolders=foldernames - +randonb=[] +basicfilename="" print "\n\nWelcome ! \nWith this script, you will be able to download gpx,trk and kml traces for hitchiking on the Reunion Isle." - +loginmail() +logipass() +filetype=mapfileinput() +if filetype==1: + basicfilename="f.gpx" +else if filetype==2: + basicfilename="f.trk" +else: + basicfilename="f.kml" + +payload = { + 'mail': MAIL, + 'password': PSW +} -mapfileinput() |