Guest User

Untitled

a guest
May 24th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. def main():
  2. Filea = open("columna.txt")
  3. Fileb = open("columnb.txt")
  4. Filec = open("columnc.txt")
  5. Filed = open("columnd.txt")
  6. for x,y,z,w in izip(Filea, Fileb, Filec, Filed): #for c in 'a b c d'.split()):
  7. print x[0:-1],y[0:-1],z[0:-1],w[0:-1]
  8.  
  9.  
  10.  
  11.  
  12. wanted "x[0:-1]" , "y[0:-1]" etc ....
  13.  
  14. "\"%s\" , \"%s\" , \"%s\" , \"%s\"" % (x[0:-1],y[0:-1],z[0:-1],w[0:-1])
Add Comment
Please, Sign In to add comment