Python 2.7 - how to get an entry, but do not display the keys entered


I want to make it so that I'm taking input

enterKey = raw_input("String here: ")

But that any keys entered are not displayed - it should just act as a pause of sorts in the script until Enter/Return is pressed and then it can proceed.

Use getpass.

import getpass
keys = getpass.getpass("String here: ")