Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #56429
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder7.xlned.com!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <tim@thechases.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.085 |
| X-Spam-Evidence | '*H*': 0.83; '*S*': 0.00; 'python': 0.11; '-tkc': 0.16; 'codec': 0.16; 'from:name:tim chase': 0.16; 'ordinal': 0.16; 'wrote:': 0.18; 'byte': 0.24; 'subject:Code': 0.24; 'this:': 0.26; 'second': 0.26; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'code': 0.31; "can't": 0.35; "who's": 0.35; 'passwords': 0.36; 'charset:us-ascii': 0.36; 'implement': 0.38; 'to:addr:python- list': 0.38; 'generating': 0.39; 'to:addr:python.org': 0.39; 'skip:x 10': 0.40; 'skip:u 10': 0.60; 'fun?': 0.68; 'received:50.22': 0.84; 'skip:p 80': 0.84 |
| Date | Tue, 8 Oct 2013 11:08:20 -0500 |
| From | Tim Chase <tim@thechases.com> |
| To | python-list@python.org |
| Subject | Re: Code golf challenge: XKCD 936 passwords |
| In-Reply-To | <CAPTjJmp4nYK5dPopuCPQa+uhXv1T8k95qnXu5r=CV9-3RLOCjg@mail.gmail.com> |
| References | <CAPTjJmp4nYK5dPopuCPQa+uhXv1T8k95qnXu5r=CV9-3RLOCjg@mail.gmail.com> |
| X-Mailer | Claws Mail 3.8.1 (GTK+ 2.24.10; x86_64-pc-linux-gnu) |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=US-ASCII |
| Content-Transfer-Encoding | 7bit |
| X-AntiAbuse | This header was added to track abuse, please include it with any abuse report |
| X-AntiAbuse | Primary Hostname - boston.accountservergroup.com |
| X-AntiAbuse | Original Domain - python.org |
| X-AntiAbuse | Originator/Caller UID/GID - [47 12] / [47 12] |
| X-AntiAbuse | Sender Address Domain - thechases.com |
| X-Get-Message-Sender-Via | boston.accountservergroup.com: none |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.865.1381248401.18130.python-list@python.org> (permalink) |
| Lines | 14 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1381248401 news.xs4all.nl 15987 [2001:888:2000:d::a6]:45295 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:56429 |
Show key headers only | View raw
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