[Solved] How do I convert .txt file to a list in python?


Your problem appears to be only with displaying the results.
When selecting from a list, you can either select a certain index, e.g.:

print movies_list[0]

or a range, e.g.:

print movies_list[0:3]
print movies_list[3:-1]

or you can print the entire list:

print movies_list

You can’t use commas in the square brackets for lists.

solved How do I convert .txt file to a list in python?