Skip to content

Instantly share code, notes, and snippets.

@xeno14
Last active December 31, 2015 10:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xeno14/c5ddc2709e3d50a6182b to your computer and use it in GitHub Desktop.
Save xeno14/c5ddc2709e3d50a6182b to your computer and use it in GitHub Desktop.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
fa = open("a.txt", "r")
fb = open("b.txt", "r")
for a, b in zip(fa, fb):
print a.rstrip()
print b.rstrip()
fa.close()
fb.close()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment