04.08.2014 Views

o_18ufhmfmq19t513t3lgmn5l1qa8a.pdf

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

■INDEX<br />

593<br />

playful programming 381<br />

flexibility 381–382<br />

configuration 383–385<br />

prototyping 382–383<br />

introduction 381<br />

learning more 387<br />

logging 385–387<br />

minimum requirements 387<br />

project structure 388<br />

plus sign<br />

concatenating sequences 551<br />

poll function<br />

asynchronous I/O 306–308<br />

PolyLines, creating 415<br />

polymorphism 140–142<br />

forms of 142–143<br />

interfaces 155–156<br />

pop method<br />

dictionaries 76<br />

lists 45, 46<br />

popen functions<br />

running the Tidy program 317<br />

popitem method<br />

dictionaries 76<br />

sequence unpacking 84<br />

poplib module 302<br />

positional parameters 119<br />

PostgreSQL database<br />

creating for bulletin board project 485<br />

using for bulletin board project 484<br />

pound bang #! 21<br />

pow function 16, 561<br />

Pragmatic Programmer, The<br />

Andrew Hunt and David Thomas 387<br />

precision 54<br />

conversion specifiers 57<br />

print statements 14, 16, 567<br />

using with commas 81–82<br />

procedures 112<br />

profile module 251, 353<br />

profiling as alternative to unit testing<br />

353–354<br />

ProgrammingError exception class 287<br />

programs<br />

importing as module 203<br />

packaging 373–380<br />

properties 184–185<br />

__getattr__, __setattr__, and others<br />

188–189<br />

property function 185–186<br />

static methods and class methods 187–188<br />

working on old style classes 173<br />

property function 173<br />

creating properties 185–186<br />

protocols<br />

description 179<br />

prototyping 382–383<br />

PSP (Python Server Pages) 331–332<br />

Psyco tool<br />

speeding up programs 360<br />

psycopg module 573<br />

importing 484<br />

Publisher 332–334<br />

pump function<br />

pygame.event module 530<br />

push method<br />

async_chat class 461<br />

PuTTY software 457<br />

Py_DECREF macro 366–367<br />

Py_INCREF macro 366–368<br />

py_modules directive 376<br />

PyChecker tool 351<br />

importing as module 351<br />

using 352–353<br />

Pygame<br />

using for arcade game 528<br />

web site 527

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

Saved successfully!

Ooh no, something went wrong!