Module Expr Str Import alias TryExcept body Import alias handlers ExceptHandler type NameLoad body Assign NameStore NameLoad TryExcept body Import alias handlers ExceptHandler type NameLoad body Assign NameStore NameLoad TryExcept body Import alias handlers ExceptHandler type NameLoad body Assign NameStore NameLoad TryExcept body Import alias handlers ExceptHandler type NameLoad body Assign NameStore NameLoad Import alias TryExcept body Import alias identifier handlers ExceptHandler type NameLoad body Import alias Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num FunctionDef arguments args defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod NameLoad Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Str ListLoad Str Str Str Str Str Str handlers ExceptHandler type AttributeLoad NameLoad attr body Expr Call NameLoad Return Num If BoolOpOr CompareEq Call NameLoad NameLoad Num CompareGt Call NameLoad NameLoad Num body Expr Call NameLoad Return Num orelse If CompareEq Call NameLoad NameLoad Num body Assign NameStore AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Num orelse TryExcept body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num Str handlers ExceptHandler type NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str SubscriptLoad NameLoad Index Num Return Num Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore NameLoad For TupleStore NameStore NameStore NameLoad body If CompareIn NameLoad TupleLoad Str Str body TryExcept body Assign NameStore AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Return Num orelse If CompareIn NameLoad TupleLoad Str Str body TryExcept body Assign NameStore AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Return Num orelse If CompareIn NameLoad TupleLoad Str Str body TryExcept body Assign NameStore AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Return Num orelse If CompareIn NameLoad TupleLoad Str Str body TryExcept body Assign NameStore AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Return Num orelse If CompareIn NameLoad TupleLoad Str Str body TryExcept body Assign NameStore AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Return Num orelse If CompareIn NameLoad TupleLoad Str Str body TryExcept body Assign NameStore AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Return Num If CompareIs NameLoad NameLoad body If CompareIs NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Return Num orelse Assign NameStore AttributeLoad NameLoad attr TryExcept body Assign NameStore Call NameLoad NameLoad Str handlers ExceptHandler type AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Return Num orelse For NameStore Call AttributeLoad NameLoad attr body Delete SubscriptDel NameLoad Index NameLoad While Num body TryExcept body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Break Assign SubscriptStore NameLoad Index NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Return Num decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Slice Num
N/A N/A 
Synopsis: %(prog)s [-h|-b|-g|-r|-a|-d] [ picklefile ] dbfile

Read the given picklefile as a series of key/value pairs and write to a new
database.  If the database already exists, any contents are deleted.  The
optional flags indicate the type of the output database:

    -a - open using anydbm
    -b - open as bsddb btree file
    -d - open as dbm file
    -g - open as gdbm file
    -h - open as bsddb hash file
    -r - open as bsddb recno file

The default is hash.  If a pickle file is named it is opened for read
access.  If no pickle file is named, the pickle input is read from standard
input.

Note that recno databases can only contain integer keys, so you can't dump a
hash or btree database using db2pickle.py and reconstitute it to a recno
database with %(prog)s unless your keys are integers.

 N/A getopt N/A N/A N/A bsddb N/A N/A N/A ImportError N/A N/A bsddb None N/A N/A N/A dbm N/A N/A N/A ImportError N/A N/A dbm None N/A N/A N/A gdbm N/A N/A N/A ImportError N/A N/A gdbm None N/A N/A N/A anydbm N/A N/A N/A ImportError N/A N/A anydbm None N/A sys N/A N/A N/A cPickle pickle N/A N/A N/A ImportError N/A N/A pickle N/A prog N/A N/A sys argv N/A 0 usage N/A N/A N/A N/A N/A N/A N/A N/A sys stderr write N/A __doc__ N/A globals N/A main N/A N/A args N/A N/A N/A N/A N/A N/A opts args N/A N/A getopt getopt args hbrdag N/A hash btree recno dbm anydbm gdbm N/A N/A N/A N/A getopt error N/A N/A N/A usage N/A 1 N/A N/A N/A N/A len args 0 N/A N/A len args 2 N/A N/A N/A usage N/A 1 N/A N/A N/A N/A len args 1 N/A N/A pfile N/A sys stdin N/A dbfile N/A args N/A 0 N/A N/A N/A N/A pfile N/A open N/A args N/A 0 rb N/A N/A N/A IOError N/A N/A N/A N/A N/A sys stderr write N/A Unable to open %s
 N/A args N/A 0 N/A 1 N/A dbfile N/A args N/A 1 N/A dbopen None N/A N/A opt arg opts N/A N/A N/A opt N/A -h --hash N/A N/A N/A N/A dbopen N/A bsddb hashopen N/A N/A N/A AttributeError N/A N/A N/A N/A N/A sys stderr write bsddb module unavailable.
 N/A 1 N/A N/A N/A opt N/A -b --btree N/A N/A N/A N/A dbopen N/A bsddb btopen N/A N/A N/A AttributeError N/A N/A N/A N/A N/A sys stderr write bsddb module unavailable.
 N/A 1 N/A N/A N/A opt N/A -r --recno N/A N/A N/A N/A dbopen N/A bsddb rnopen N/A N/A N/A AttributeError N/A N/A N/A N/A N/A sys stderr write bsddb module unavailable.
 N/A 1 N/A N/A N/A opt N/A -a --anydbm N/A N/A N/A N/A dbopen N/A anydbm open N/A N/A N/A AttributeError N/A N/A N/A N/A N/A sys stderr write anydbm module unavailable.
 N/A 1 N/A N/A N/A opt N/A -g --gdbm N/A N/A N/A N/A dbopen N/A gdbm open N/A N/A N/A AttributeError N/A N/A N/A N/A N/A sys stderr write gdbm module unavailable.
 N/A 1 N/A N/A N/A opt N/A -d --dbm N/A N/A N/A N/A dbopen N/A dbm open N/A N/A N/A AttributeError N/A N/A N/A N/A N/A sys stderr write dbm module unavailable.
 N/A 1 N/A N/A dbopen None N/A N/A N/A bsddb None N/A N/A N/A N/A N/A sys stderr write bsddb module unavailable -  N/A N/A N/A N/A sys stderr write must specify dbtype.
 N/A 1 N/A N/A dbopen N/A bsddb hashopen N/A N/A N/A db N/A dbopen dbfile c N/A N/A N/A N/A bsddb error N/A N/A N/A N/A N/A sys stderr write N/A Unable to open %s.   dbfile N/A N/A N/A N/A sys stderr write Check for format or version mismatch.
 N/A 1 N/A N/A k N/A N/A db keys N/A N/A N/A db N/A k N/A 1 N/A N/A N/A N/A N/A key val N/A N/A pickle load pfile N/A N/A N/A EOFError N/A N/A N/A N/A db N/A key val N/A N/A N/A db close N/A N/A N/A pfile close N/A 0 N/A N/A N/A __name__ __main__ N/A N/A N/A N/A sys exit N/A main N/A N/A sys argv N/A 1