Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #83175
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <drsalists@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.018 |
| X-Spam-Evidence | '*H*': 0.96; '*S*': 0.00; 'integers': 0.09; 'subject:set': 0.09; 'try:': 0.09; 'cc:addr:python-list': 0.11; 'jan': 0.12; 'cc:name:python list': 0.16; 'sat,': 0.16; 'wrote:': 0.18; 'trying': 0.19; 'patrick': 0.19; 'pfxlen:0': 0.19; 'cc:addr:python.org': 0.22; 'byte': 0.24; 'cc:2**0': 0.24; 'header :In-Reply-To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'case,': 0.35; 'test': 0.35; 'received:google.com': 0.35; 'list,': 0.38; 'first': 0.61; 'today': 0.64; 'to:addr:gmail.com': 0.65; 'wish': 0.70; '2015': 0.84 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=h7MOGpGCicyjDahr14KQCFaOd7pvyqW1B2V2Xpz37Xk=; b=HQw1GGsmYNniX2HXna+theAgDSObsPbO0/dfLbCwl5/9m8Ry17kw2FiXRviT7YJQw3 9cY5VF6KPg+1N88ik+7804XcdzEgTOCLrgpHkFOqstUc5vy+qq3HSBGVhTWC/I0tw16X pQCEMCQqvXUKmVJTF2jQ6P73iVzFBicryvGCa3eMxxgyU3/LjPkxQLqqyNNgjNWM0TuZ Wg4UxlolVU145mHe122crvEGSpBjAAuuKuWeHwH+/s1Cc9yXhE+5MXdtgwsK58rS3R51 1wce4Cl4cjFtZocyySkp5ReldBhFK3XWUr0dxuYANET/khaHjRr8srZ1lG+KVIk2SS2k hDHw== |
| MIME-Version | 1.0 |
| X-Received | by 10.152.6.132 with SMTP id b4mr64461295laa.59.1420312517778; Sat, 03 Jan 2015 11:15:17 -0800 (PST) |
| In-Reply-To | <54a83a19$0$6953$e4fe514c@dreader36.news.xs4all.nl> |
| References | <54a83a19$0$6953$e4fe514c@dreader36.news.xs4all.nl> |
| Date | Sat, 3 Jan 2015 11:15:17 -0800 |
| Subject | Re: surprise - byte in set |
| From | Dan Stromberg <drsalists@gmail.com> |
| To | patrick vrijlandt <pvrijlandt@gmail.com> |
| Content-Type | text/plain; charset=UTF-8 |
| Cc | Python List <python-list@python.org> |
| 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.17356.1420312524.18130.python-list@python.org> (permalink) |
| Lines | 12 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1420312524 news.xs4all.nl 2831 [2001:888:2000:d::a6]:44890 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:83175 |
Show key headers only | View raw
On Sat, Jan 3, 2015 at 10:50 AM, patrick vrijlandt <pvrijlandt@gmail.com> wrote: > Hello list, > > Let me first wish you all the best in 2015! > > Today I was trying to test for occurrence of a byte in a set ... In the last case, the set has integers in it. Try: b'b'[0] in set(b'abc')
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
surprise - byte in set patrick vrijlandt <pvrijlandt@gmail.com> - 2015-01-03 19:50 +0100 Re: surprise - byte in set Jason Friedman <jsf80238@gmail.com> - 2015-01-03 12:12 -0700 Re: surprise - byte in set Dan Stromberg <drsalists@gmail.com> - 2015-01-03 11:15 -0800 Re: surprise - byte in set Gary Herron <gherron@digipen.edu> - 2015-01-03 12:05 -0800 Re: surprise - byte in set patrick vrijlandt <pvrijlandt@gmail.com> - 2015-01-03 23:08 +0100 Re: surprise - byte in set Amir Arsalan <am1r.ar3alan@gmail.com> - 2015-01-03 22:38 +0330
csiph-web