Say I have the following in a text file:
car apple bike book
How can I read it and put them into a dictionary
This is covered pretty thoroughly in the Python tutorial.
lines = open('filename.txt', 'r').readlines()