aboutsummaryrefslogtreecommitdiff
path: root/prototyping/main.py
diff options
context:
space:
mode:
authorMiquel Lionel <moi@miquellionel.ovh>2019-05-30 12:08:10 +0200
committerMiquel Lionel <moi@miquellionel.ovh>2019-05-30 12:08:10 +0200
commit6d57c365789ba88499caca64114d234996a0dae8 (patch)
tree994d5bf52634a4e08e3cbc48a0652a83a04c1d2d /prototyping/main.py
parent9ae6167d9b7ce53a273c46cf96cc73aaefb167f9 (diff)
downloadrandopitons-6d57c365789ba88499caca64114d234996a0dae8.tar.gz
randopitons-6d57c365789ba88499caca64114d234996a0dae8.zip
Cleaning this mess
Diffstat (limited to 'prototyping/main.py')
-rwxr-xr-xprototyping/main.py46
1 files changed, 0 insertions, 46 deletions
diff --git a/prototyping/main.py b/prototyping/main.py
deleted file mode 100755
index 56f04d6..0000000
--- a/prototyping/main.py
+++ /dev/null
@@ -1,46 +0,0 @@
-import os
-import inputs as io
-
-import colorcode as clc
-foldernames=["Cirque de Cilaos","Cirque de Mafate","Cirque de Salazie","Est","Nord","Ouest","Sud","Volcan","Ailleurs","All"]
-webregionnames=[]
-for i in range(9):
- try:
- leftside=foldernames[i].split(' ')[0].lower()+"-"
- rightside=foldernames[i].split(' ')[2].lower()
- webregionnames.append(leftside+rightside)
- except IndexError,ierr:
- oneside=foldernames[i].split(' ')[0].lower()
- webregionnames.append(oneside)
- pass
-import foldercreating as fdc
-basicfilename=""
-
-print clc.bold+"*************************************************************************************************************"
-print clc.bold+"* Welcome ! *"+clc.endc
-print clc.bold+"* With this script, you will be able to download gpx,trk and kml traces for hitchiking on the Reunion Isle. *"+clc.endc
-print clc.bold+"*************************************************************************************************************"
-zonechoice=io.regioninput()
-zoneptr=zonechoice-1
-maptype=io.mapfileinput()
-MAIL=io.loginmail()
-PSW=io.loginpass()
-
-
-
-if maptype==1:
- basicfilename="f.gpx"
-elif maptype==2:
- basicfilename="f.trk"
-elif maptype==3:
- basicfilename="f.kml"
-
-fdc.mainfolder()
-if zonechoice == 10:
- fdc.mkallfolder(MAIL,PSW,webregionnames,foldernames,maptype,basicfilename)
-else:
- fdc.mkfolder(MAIL,PSW,webregionnames,foldernames,maptype,zoneptr,basicfilename)
-
-
-
-