Learning Python :

Lutz, Mark,

Learning Python : Powerful object-oriented programming / Mark Lutz. - Fifth edition. - li, 1540 pages : illustrations ; 24 cm.

"Updated for 3.3 and 2.7"--Cover. Includes index.

A Python Q & A session -- How Python runs programs -- How you run programs -- Introducing Python object types -- Numeric types -- The dynamic typing interlude -- String fundamentals -- Lists and dictionaries -- Tuples, files, and everything else -- Introducing Python statements -- Assignments, expressions, and prints -- if tests and syntax rules -- while and for loops -- Iterations and comprehensions -- The documentation interlude -- Function basics -- Scopes -- Arguments -- Advanced function topics -- Comprehensions and generations -- The benchmarking interlude -- Modules : the big picture -- Module coding basics -- Module packages -- Advanced module topics -- OOP : the big picture -- Class coding basics -- A more realistic example -- Class coding details -- Operator overloading -- Designing with classes -- Advanced class topics -- Exception basics -- Exception coding details -- Exception objects -- Designing with exceptions -- Unicode and byte strings -- Managed attributes -- Decorators -- Metaclasses -- All good things.

Describes the features of the Python programming language, covering such topics as types and operations, statements and syntax, functions, modules, classes and OOP, and exceptions and tools.

9781449355739

2014497591


Python (Computer program language)
Object-oriented programming (Computer science)

QA76.73.P98 / L877 2013

005.117 LU.L 2013