Advertisement
Guest User

Untitled

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