Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dir = '/work/07422/tg867218/stampede2/test'
- for file in os.listdir(dir):
- if file.endswith("_z1.dat"):
- with open(dir + "/" + file) as ab:
- file = os.listdir('_z1.dat')
- for file in files:
- if files.strip()[0].isdigit():#This seperates the files be useful data abd splits off anything that is not
- cols = files.strip().split()
- abundance = f.readlines()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement