# https://cassandra.apache.org/doc/latest/cassandra/getting_started/drivers.html shows related info.
# More details are at https://github.com/datastax/python-driver
from cassandra.cluster import Cluster
cluster = Cluster() # To connect to localhost
cluster = Cluster(['192.168.0.1', '192.168.0.2']) # To connect to any one of these possible IPs.