<s> __author__ = '<STR_LIT>' <EOL> def prompt ( kx ) : <EOL> """<STR_LIT>""" <EOL> if len ( kx [ '<STR_LIT:value>' ] . strip ( ) ) == <NUM_LIT:0> : <EOL> print kx [ '<STR_LIT:message>' ] <EOL> if '<STR_LIT>' in kx : <EOL> print '<STR_LIT>' . format ( '<STR_LIT>' , '<STR_LIT>' , kx [ '<STR_LIT>' ] ) <EOL> return True <EOL> return False <EOL> def prompt_in ( msg ) : <EOL> """<STR_LIT>""" <EOL> from sys import stdout <EOL> print msg <EOL> stdout . flush ( ) <EOL> inp = raw_input ( '<STR_LIT>' ) <EOL> stdout . flush ( ) <EOL> return inp </s>
