가능한 중복을 가능한 문자열 목록을 작성 계속 :
Using itertools.product and want to seed a value파이썬에서
내가 문자열의 일관된 목록을 생성이 코드를 가지고있다.
import itertools
choices = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ123456789"
for length in range(0,20):
for entry in itertools.product(choices, repeat = length):
string = ''.join(entry)
print string
마지막으로 알려진 문자열에서이 스크립트를 계속 실행하고 싶습니다. 어떻게 이것이 가능합니까?
"마지막으로 알려진"을 정의 하시겠습니까? – StoryTeller
관련성이 있습니다. http://stackoverflow.com/questions/9864809/using-itertools-product-and-want-to-seed-a-value – abought