1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
import os
import inputs
import mapsparsing
import colorcode as clc
import foldercreating as fdc
foldernames=["Cirque de Cilaos","Cirque de Mafate","Cirque de Salazie","Est","Nord","Ouest","Sud","Volcan","Ailleurs","All"]
randonb=[]
basicfilename=""
print clc.bold+"\n\nWelcome ! \nWith this script, you will be able to download gpx,trk and kml traces for hitchiking on the Reunion Isle."+clc.endc
loginmail()
logipass()
filetype=mapfileinput()
zonechoice=regioninput()
if filetype==1:
basicfilename="f.gpx"
elif filetype==2:
basicfilename="f.trk"
else filetype==3:
basicfilename="f.kml"
mapparsing(filetype,basicfilename)
mkfolder(filetype,zonechoice)
payload = {
'mail': MAIL,
'password': PSW
}
randoweb()
|