Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #56429 > unrolled thread

Re: Code golf challenge: XKCD 936 passwords

Started byTim Chase <tim@thechases.com>
First post2013-10-08 11:08 -0500
Last post2013-10-08 11:08 -0500
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Code golf challenge: XKCD 936 passwords Tim Chase <tim@thechases.com> - 2013-10-08 11:08 -0500

#56429 — Re: Code golf challenge: XKCD 936 passwords

FromTim Chase <tim@thechases.com>
Date2013-10-08 11:08 -0500
SubjectRe: Code golf challenge: XKCD 936 passwords
Message-ID<mailman.865.1381248401.18130.python-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web