raw_input
expects a string as input
>>> help(raw_input)
What you could do is the first print your prompt string and then ask for the input from the user.
import time
import sys
def typewriter(string):
for x in string:
sys.stdout.write(x)
sys.stdout.flush()
time.sleep(.01)
typewriter('Type "db" for decimal to binary, Type "bd" for binary to decimal: ')
dbbd = raw_input()