@preloaderPause
def GetUserCredentials():
 try:
  login = None
  password = None
  if (login is None):
   login = rawInput('Login: ')
  if (password is None):
   password = rawInput('Password: ', True)
 except (KeyboardInterrupt, SystemExit) as e:
  if e.message:
   tools.exit(e.message)
  else:
   tools.exit
 return (login, password)

@ preloaderPause def GetUserCredentials ( ) : try : login = None password = None if ( login is None ) : login = rawInput ( 'Login: ' ) if ( password is None ) : password = rawInput ( 'Password: ' , True ) except ( KeyboardInterrupt , SystemExit ) as e : if e . message : tools . exit ( e . message ) else : tools . exit return ( login , password )
prompts the user for a username and password .