Silly newbie question - Carrot character (^)
D'Arcy J.M. Cain
darcy at druid.net
Fri Nov 5 10:00:43 EDT 2010
On Fri, 5 Nov 2010 09:43:25 -0400
Matty Sarro <msarro at gmail.com> wrote:
> now working. However, what exactly does ^ do? I know its used in regular
> expressions but I can't seem to find anything about using it as an operator.
It's the XOR operator. Try "help('^')" for more detail.
By the way, it's "caret", not "carrot".
--
D'Arcy J.M. Cain <darcy at druid.net> | Democracy is three wolves
http://www.druid.net/darcy/ | and a sheep voting on
+1 416 425 1212 (DoD#0082) (eNTP) | what's for dinner.
More information about the Python-list
mailing list