''' Purpose: translate user text to English ''' # get access to url support import url import translate d = url.get_dictionary( 'http://www.cs.virginia.edu/~cs1112/datasets/words/romans.csv' ) # get the user text to be translated reply = input( 'Enter phrase to be translated: ' ) # convert reply into a list of words translation = translate.glot( reply ) print( translation )