On Wed, 25 May 2011, 19:25:59 CEST, Wolf Halton <wolf.hal...@gmail.com> wrote:
> [code]
> def new_pass():
> series = ['`', '1', '2', '3', '4', '5', '6', '7', '8', '9', '0', '-',
> '=', \
> '~', '!', '@', '#', '$', '%', '^', '&', '*', '(',
>')', '_',
> '+', \
> 'q', 'w', 'e', 'r', 't', 'y', 'u', 'i', 'o', 'p',
>'[', ']',
> '\\', \
> 'Q', 'W', 'E', 'R', 'T', 'Y', 'U', 'I', 'O', 'P',
>'{', '}',
> '|', \
> 'a', 's', 'd', 'f', 'g', 'h', 'j', 'k', 'l', ';',
>"'", \
> 'A', 'S', 'D', 'F', 'G', 'H', 'J', 'K', 'L', ':',
>'"', \
> 'z', 'x', 'c', 'v', 'b', 'n', 'm', ',', '.', '/',
>\
> 'Z', 'X', 'C', 'V', 'B', 'N', 'M', '<', '>', '?']
Have a look at the string module as it has all the above already.
Greets
Sander
_______________________________________________
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor