If you want to do this without iterating over the entire list, and lazily executing it as needed, you can use itertools.imap:
itertools.imap(lambda x: "".join(x), itertools.permutations("0123456789"))
(note that I am not using the list()result permutationshere to be as lazy as possible)
, , :
("".join(x) for x in itertools.permutations("0123456789"))
itertools.imap , ( ), ,