Advertisement
Guest User

Untitled

a guest
May 25th, 2015
237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. import os
  2. import sys
  3. import re
  4.  
  5. print('happy')
  6.  
  7. file_list = []
  8. for root, dirs, files in os.walk(sys.argv[1]):
  9. file_list = files
  10. print(files)
  11. for item in file_list:
  12. match = re.match(item,re.compile('Group(\d*\w)DistinctGIs.txt')
  13. group_number = match.group(1))
  14. print(group_number)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement