file = open("D:\\btk\\yazilimTest\\seleniumWebdriverWithPython\\PythonBasics\\text.txt")

fileList = file.readlines()

print(fileList)

file.close()

# ['alpha\n', 'beta\n', 'cat\n', 'dog\n', 'elephant\n', 'france']