aboutsummaryrefslogtreecommitdiff
path: root/inputs.py
diff options
context:
space:
mode:
authorLionel <lionel.miquel46@gmail.com>2018-10-04 08:13:08 +0200
committerLionel <lionel.miquel46@gmail.com>2018-10-04 08:13:08 +0200
commit8fd35574400834517db2a51e92eba970f614843e (patch)
treeefc032a6f130e80b0422159724654fadce6e99ce /inputs.py
parent0943dd142523b53e3748987fd16c77e6567c2fab (diff)
downloadrandopitons-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 'inputs.py')
-rw-r--r--inputs.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/inputs.py b/inputs.py
index 6745c37..9185cbc 100644
--- a/inputs.py
+++ b/inputs.py
@@ -1,4 +1,5 @@
import colorcode
+import getpass
def mapfileinput():
maptype = 0
@@ -46,3 +47,11 @@ def regioninput():
print "\nPlease enter a number between 1 and 10."
zone = 0
return zone
+
+def loginmail():
+ MAIL=raw_input("Your email to log in to randopitons.re : ")
+ return MAIL
+
+def loginpass():
+ PSW=getpass.getpass(prompt="Your password to log in to randopitons.re: ")
+ return PASS