Is it possible to override 'and' and/or 'or'? I cannot find a special
method for it... __and__ and __rand__ and __or__ and __ror__ are for
binary manipulation... any proposals?
Have marvelous sunday,
Marco
--
http://mail.python.org/mailman/listinfo/python-list
On 7 Okt., 16:19, Steven D'Aprano <[EMAIL PROTECTED]
cybersource.com.au> wrote:
> On Sun, 07 Oct 2007 13:52:15 +, Dekker wrote:
> > Is it possible to override 'and' and/or 'or'?
>
> Not without hacking the Python source code, in which case what yo
I am currently running OS X Yosemite (10.10.2) on my MacBook Pro... By
default, Apple ships Python 2.7.6 on Yosemite.
Just downloaded and ran this installer for Python 3:
python-3.4.3-macosx10.6.pkg
When I opened up my Terminal and typed in python, this is what came up:
Python 2.7.6 (default, S