writing the data in text file while converting it to csv with python : I am very new withh python. I have a .txt file and want to convert it to a .csv file with the format i was told but could not manage to accomplish. a hand can be useful for it. i am going to explain it with screenshots.

[I have a txt file with the name of bip.txt. and the data inside of it is:][1]


[and i want to convert it to csv like this csv file:][2]


  [1]: http://i.stack.imgur.com/NNHH8.png
  [2]: http://i.stack.imgur.com/jDKqF.png

so far, what i could do is only writing all the data from text file with this code:

    read_files = glob.glob("C:/Users/Emrehana1/Desktop/bip.txt")

    with open("C:/Users/Emrehana1/Desktop/Test_Result_Report.csv", "w") as     outfile:
        for f in read_files:
            with open(f, "r") as infile:
                outfile.write(infile.read())

so is there a solution to convert it to a csv file in the format i desire? I hope i could have explained it clearly.