Hi all.
I am newbie to python.
I need a starting step to get through it.
How to read lines from a file.
I need the solution.

filename = "aFile.txt"
thefile = open(filename,'r') # the second parameter is the
                                          # mode in which you want to open the
                                          # file in this case read mode
thefilesText = thefile.readlines()
thefile.close()
for text in thefilesText:
     print text

There are other methods such as read depending on how you want to read from the file i suggest you read the python documentation to learn more