Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #56429
| Date | 2013-10-08 11:08 -0500 |
|---|---|
| From | Tim Chase <tim@thechases.com> |
| Subject | Re: Code golf challenge: XKCD 936 passwords |
| References | <CAPTjJmp4nYK5dPopuCPQa+uhXv1T8k95qnXu5r=CV9-3RLOCjg@mail.gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.865.1381248401.18130.python-list@python.org> (permalink) |
On 2013-10-08 17:17, Chris Angelico wrote:
> Who's up for some fun? Implement an XKCD-936-compliant password
> generator in Python 3, in less code than this:
>
> print(*__import__("random").sample(open("/usr/share/dict/words").read().split("\n"),4))
>
> Second challenge: Use it for generating all your passwords :)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position
9104: ordinal not in range(128)
-tkc
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Code golf challenge: XKCD 936 passwords Tim Chase <tim@thechases.com> - 2013-10-08 11:08 -0500
csiph-web