Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- f=open(filename_dictionary,'r')
- dictionary=f.readlines()
- f.close()
- new_dict=[]
- for item in dictionary:
- new_dict.append(item.split(' '))
- list(itertools.product(*new_dict))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement