After installing the teradataml package on the client, you can import the teradataml module, and establish a connection to Vantage from the Python interpreter on the client.
- Open Python interpreter.
- Import the teradataml module:
from teradataml import *
- Create the connection context using the create_context command:
<connection_name> = create_context(host = "<tdhost_fqdn>", username="<username>", password = "<password>")
- Run the following command to check the connection context:
print (<connection_name>)