Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import os
- import sys
- import re
- print('happy')
- file_list = []
- for root, dirs, files in os.walk(sys.argv[1]):
- file_list = files
- print(files)
- for item in file_list:
- match = re.match(item,re.compile('Group(\d*\w)DistinctGIs.txt')
- group_number = match.group(1))
- print(group_number)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement