#!/usr/bin/env python3
# -*- coding: utf-8 -*-

''' demo of using raw_input '''

from __future__ import print_function
import getpass

def demo():
    ''' demo function '''
    name = input('input you name: ')
    print("name: {}".format(name))

    # demo of using getpass
    print("just test, don't answer real password!")
    PW = getpass.getpass('password: ')
    print("PW: {}".format(PW))



if __name__ == '__main__':
    demo()

c8676ba662ed7fbb53a90926173a2d192e76546d
<mask token>

<mask token>


def demo():
    """ demo function """
    name = input('input you name: ')
    print('name: {}'.format(name))
    print("just test, don't answer real password!")
    PW = getpass.getpass('password: ')
    print('PW: {}'.format(PW))


<mask token>

<mask token>


def demo():
    """ demo function """
    name = input('input you name: ')
    print('name: {}'.format(name))
    print("just test, don't answer real password!")
    PW = getpass.getpass('password: ')
    print('PW: {}'.format(PW))


if __name__ == '__main__':
    demo()

<mask token>
from __future__ import print_function
import getpass


def demo():
    """ demo function """
    name = input('input you name: ')
    print('name: {}'.format(name))
    print("just test, don't answer real password!")
    PW = getpass.getpass('password: ')
    print('PW: {}'.format(PW))


if __name__ == '__main__':
    demo()

#!/usr/bin/env python3
# -*- coding: utf-8 -*-

''' demo of using raw_input '''

from __future__ import print_function
import getpass

def demo():
    ''' demo function '''
    name = input('input you name: ')
    print("name: {}".format(name))

    # demo of using getpass
    print("just test, don't answer real password!")
    PW = getpass.getpass('password: ')
    print("PW: {}".format(PW))



if __name__ == '__main__':
    demo()
