Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 2.09 KB

README.md

File metadata and controls

33 lines (23 loc) · 2.09 KB

Translator Text API V3 - Python Samples

This repository includes Python code samples for Microsoft Translator. The samples are designed to run on Python 2.7.x and Python 3.x. Each sample corresponds to a Quickstart activity on doc.microsoft.com, including:

Prerequisites

Here's what you'll need before you use these samples:

  • Your favorite IDE or text editor
  • Python 2.7.x or 3.x
  • An Azure subscription with Translator Text enabled. Sign-up for a free account!

Code samples

This repository includes a sample for each of the methods made available by the Microsoft Translator Text API v3. To use each of the samples, follow these instructions:

  • Create a new project in your favorite IDE or editor.
  • Copy the code from one of the samples into your project.
  • Set your subscription key.
  • Run the program. For example: python Translate.py.

Resources