The page in which the Google Translate Python sample code is available, contains running samples to use a command-line or to script Google App Engine locally. For both options, common steps include to access the Google Developer Console, create a new project, enable APIs, select credentials, and create new ClientID.