Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
8df717a4
Commit
8df717a4
authored
Jun 20, 2003
by
Skip Montanaro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor __doc__ string tweakage
parent
c5e5e51a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
Tools/scripts/pickle2db.py
Tools/scripts/pickle2db.py
+5
-5
No files found.
Tools/scripts/pickle2db.py
View file @
8df717a4
...
...
@@ -4,11 +4,11 @@
Synopsis: %(prog)s [-h|-b|-r|-a|-d] dbfile [ picklefile ]
Read the given picklefile as a series of key/value pairs and write to a new
bsddb database. If the database already exists, any contents are deleted.
The optional flags indicate the type of the database (bsddb hash, bsddb
b
tree, bsddb recno, anydbm, dbm). The default is hash. If a pickle file is
named it is opened for read access. If no pickle file is named, the pickle
i
nput i
s read from standard input.
database. If the database already exists, any contents are deleted. The
optional flags indicate the type of the database (bsddb hash, bsddb btree,
b
sddb recno, anydbm, dbm). 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 numeric keys, so you can't dump a
hash or btree database using db2pickle.py and reconstitute it to a recno
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment