Читать из текстового файла и добавить в список
with open('names.txt', 'r') as f:
myNames = [line.strip() for line in f]
Clear Copperhead
with open('names.txt', 'r') as f:
myNames = [line.strip() for line in f]