From 8fd35574400834517db2a51e92eba970f614843e Mon Sep 17 00:00:00 2001 From: Lionel Date: Thu, 4 Oct 2018 08:13:08 +0200 Subject: On a encore plus nettoyé tout ce bazard, on va maintenant améliorer le sctrip MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit t pour le parsing des fichiers --- inputs.py | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'inputs.py') 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 -- cgit v1.2.3-54-g00ecf