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


Groups > comp.lang.python > #51506

Bitwise Operations

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <devyncjohnson@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.045
X-Spam-Evidence '*H*': 0.91; '*S*': 0.00; 'binary': 0.07; "'or',": 0.16; 'bitwise': 0.16; 'integer.': 0.16; 'operations?': 0.16; 'header:User-Agent:1': 0.23; 'instance,': 0.24; 'received:10.0.0': 0.31; 'something': 0.35; 'received:google.com': 0.35; 'received:10.0': 0.36; 'received:10': 0.37; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'how': 0.40; 'email addr:gmail.com': 0.63
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=Z7A/m+ZAS/WE5wUEa8A3Xt7gTpV48qJ5HwFJh+ML7tg=; b=WIRVoPYl+bku6HEFWMZ22umk96xiZzbT0h8rVHL7MwyrfHBEbrXn1rLt8G+xOC7HS+ yF4TiLdZm8sdivfNN2YbeSTl5QAVZrm0x0HNS18c9zU25CsK2r/ILUmCKlssAxTcv9rN W0HNPSWzvlVJEaUDKoyHj8/tdQCeqpaKFz2zvluZ6LXsuUC/E+txOq21ILqcUh3bY1bf 9BdLKbNEAqsrArB1Va7k1Lqzmn/W9cZ7nn5NMMrJwZCKWUC6Ryh6EUB/shqF5dKGfqRi 9rrsqpuRMGEYKK0peW9HU5DDaXyEN9LM9zyr1T7mA8g498NhGbg1RNKY1g2LPzWxVbkh o2XQ==
X-Received by 10.58.230.135 with SMTP id sy7mr26538560vec.42.1375133117152; Mon, 29 Jul 2013 14:25:17 -0700 (PDT)
Date Mon, 29 Jul 2013 17:25:14 -0400
From Devyn Collier Johnson <devyncjohnson@gmail.com>
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130623 Thunderbird/17.0.7
MIME-Version 1.0
To Python Mailing List <python-list@python.org>
Subject Bitwise Operations
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
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 <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.5275.1375134621.3114.python-list@python.org> (permalink)
Lines 6
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1375134621 news.xs4all.nl 15956 [2001:888:2000:d::a6]:36610
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:51506

Show key headers only | View raw


On Python3, how can I perform bitwise operations? For instance, I want 
something that will 'and', 'or', and 'xor' a binary integer.

Mahalo,

DevynCJohnson@Gmail.com

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Bitwise Operations Devyn Collier Johnson <devyncjohnson@gmail.com> - 2013-07-29 17:25 -0400
  Re: Bitwise Operations Grant Edwards <invalid@invalid.invalid> - 2013-07-29 21:53 +0000
    Re: Bitwise Operations Devyn Collier Johnson <devyncjohnson@gmail.com> - 2013-07-29 19:34 -0400
      Re: Bitwise Operations Ulrich Eckhardt <ulrich.eckhardt@dominolaser.com> - 2013-07-30 08:20 +0200
    Re: Bitwise Operations Ethan Furman <ethan@stoneleaf.us> - 2013-07-29 16:41 -0700
    Re: Bitwise Operations Chris Angelico <rosuav@gmail.com> - 2013-07-30 00:44 +0100
    Re: Bitwise Operations Devyn Collier Johnson <devyncjohnson@gmail.com> - 2013-07-29 19:48 -0400
    Re: Bitwise Operations Chris Angelico <rosuav@gmail.com> - 2013-07-30 01:07 +0100
    Re: Bitwise Operations MRAB <python@mrabarnett.plus.com> - 2013-07-30 02:55 +0100
    Re: Bitwise Operations Terry Reedy <tjreedy@udel.edu> - 2013-07-30 01:46 -0400

csiph-web