Python Cookbook

Index

[SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] [X] [Z]

backslash (\\\\) 2nd 3rd

backups     versioning filenames

backwards compatibility     classic classes for new code development

     inheritance in Python bag (multiset)

basestring type Berkeley database (Berkeley DB), persisting data with Berkeley DB (Berkeley database), persisting data with

big-O analysis and notation binary data, sending to Windows standard outputbinary files

     randomly reading bytes from

     sequentially reading bytes from 2nd

binary large objects [See BLOBs]

binary mode versus text mode (files) binary search algorithm

binary strings, formatting integers as

binding attributes of instance objects bisect (binary search)

bisect_right function bits, printing integer as string of

BLOBs (binary large objects)    storing in         MySQL

         PostgreSQL

         SQLite

Borg class

     avoiding Singleton Design Pattern with

Borg design nonpattern, alternative to

bound methods

     held by objects, pickling

     maintaining references to without inhibiting garbage collection

     weak references to

bounded precision

bsddb package

bsddb3 package

building     C extensions         with Pyrex

     classes via metaclasses

     dictionaries     empty class instance

     list comprehensions

     lists 2nd 3rd

     modules, tools for

built-in type, inheriting

__builtin__ module

bytecodes, multiple bytes, as distinguished from characters

     CRC-64 computation on stream of     extracting from strings

     randomly reading from binary file     sequentially reading from binary file

     sequentially reading from binary files bytestrings

Категории