16.01.2014 Views

Beginning Python - From Novice to Professional

Beginning Python - From Novice to Professional

Beginning Python - From Novice to Professional

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Index<br />

■Symbols<br />

- opera<strong>to</strong>r 558<br />

!= opera<strong>to</strong>r 558<br />

#! character sequence 21<br />

% character<br />

conversion specifiers 56<br />

% opera<strong>to</strong>r 558<br />

& opera<strong>to</strong>r 558<br />

*opera<strong>to</strong>r<br />

as distribution opera<strong>to</strong>r 123, 124<br />

as gathering opera<strong>to</strong>r 121<br />

**opera<strong>to</strong>r<br />

as distribution opera<strong>to</strong>r 123, 124<br />

as gathering opera<strong>to</strong>r 122<br />

* opera<strong>to</strong>r 558<br />

** opera<strong>to</strong>r 558<br />

+ opera<strong>to</strong>r 558<br />

concatenating sequences 551<br />

.pyw file extension<br />

reasons for 280<br />

/ opera<strong>to</strong>r 558<br />

= opera<strong>to</strong>r 547<br />

== opera<strong>to</strong>r 547, 558<br />

> opera<strong>to</strong>r 558<br />

>= opera<strong>to</strong>r 558<br />

>> opera<strong>to</strong>r 558<br />

^ opera<strong>to</strong>r 558<br />

__all__ Variable 212<br />

__delattr__ method<br />

implementing properties with old-style<br />

classes 188<br />

__delitem__ method<br />

basic sequence and mapping pro<strong>to</strong>col 180<br />

__dict__ attribute 156<br />

__doc__ attribute 112<br />

__future__ module 19<br />

__getattr__ method<br />

implementing properties with old-style<br />

classes 188, 189<br />

__getattribute__ method<br />

endless loop trap 189<br />

implementing properties with old-style<br />

classes 188<br />

__getitem__ method 182<br />

basic sequence and mapping pro<strong>to</strong>col 180<br />

__init__ method 173, 175<br />

__iter__ method 173, 189, 190<br />

__len__ method<br />

basic sequence and mapping pro<strong>to</strong>col<br />

180, 182<br />

__setattr__ method 188<br />

__setitem__ method<br />

basic sequence and mapping pro<strong>to</strong>col 180<br />

| opera<strong>to</strong>r 558<br />

~ opera<strong>to</strong>r 558<br />

` ` backticks 551<br />

converting a <strong>Python</strong> value <strong>to</strong> a string 25–26<br />

■A<br />

abs function 17, 559<br />

abstraction 109, 139<br />

classes<br />

and types 147–148<br />

attributes, functions and methods 149<br />

creating 148<br />

inheritance 153–154<br />

575

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!