https://www.meilisearch.com/docs/learn/getting_started/quick_start
The Python script never completes with the copy/paste code, might confuse beginners!
should read:
client = meilisearch.Client('http://127.0.0.1:7700', 'aSampleMasterKey')
not client = meilisearch.Client('http://localhost:7700')