''' Purpose: support translate of text based on a translation dictionary ''' import url # CS 1112 translation dictionary -- entries are of form: word,translation BABEL_FISH_URL = 'http://www.cs.virginia.edu/~cs1112/datasets/words/babelfish' ### module elements ### test module if program if ( __name__ == '__main__' ) : # __name__ is a built in python variable; that is set to # __main__ if the module is being executed as program, print( "testing module" ) else : # __name__ is set to the name of the module, if the module is being imported print( "Importing: ", __name__ ) pass