As the title says : is there an easy way of merging every two lines of a text file in python? For example my text file looks like this:
fname=xxx
uname=yyy
fname=zzz
uname=ppp
What I want as an output is :
fname=xxx uname=yyy
fname=zzz uname=ppp
and so on. Any help is appreciated!