Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def main():
- Filea = open("columna.txt")
- Fileb = open("columnb.txt")
- Filec = open("columnc.txt")
- Filed = open("columnd.txt")
- for x,y,z,w in izip(Filea, Fileb, Filec, Filed): #for c in 'a b c d'.split()):
- print x[0:-1],y[0:-1],z[0:-1],w[0:-1]
- wanted "x[0:-1]" , "y[0:-1]" etc ....
- "\"%s\" , \"%s\" , \"%s\" , \"%s\"" % (x[0:-1],y[0:-1],z[0:-1],w[0:-1])
Add Comment
Please, Sign In to add comment