PYTHON READING DATA FROM INPUT FILE : i want to read specific data fro input file . how can i read. 

for example my file has data like:
this is my first line
this is my second line.
so i just want to read 'first'from first line and 'secon' fromsecond line.

please help me out .
thanks