Académique Documents
Professionnel Documents
Culture Documents
html
db = anydbm.open('/tmp/example.db', 'n')
db['key'] = 'value'
db.close()
print whichdb.whichdb('/tmp/example.db')
Python Editor
Your results will vary, depending on what modules are available in your PYTHONPATH. Code Intelligence
and Debugger
$ python whichdb_whichdb.py Free 30-day Trial
dbhash www.wingware.com
See also:
Easy & Fast DB
whichdb Apps Dev.
Visually Develop
Standard library documentation for this module.
DB Apps with
anydbm Class ERD, UML
Code Sync. &
The anydbm module uses the best available DBM implementation when creating new Free Trial!
databases. www.visual-paradigm.com
shelve
DB Data
The shelve module provides a mapping-style API for DBM databases. Generator
Quickly generate
meaningful test
data for database
testing purposes.
www.datanamic.com/datagenerator
Logged in as
Logout from DISQUS
1 de 2 15/06/2009 10:32
whichdb – Identify DBM-style database formats - Python Module of th... http://www.doughellmann.com/PyMOTW/whichdb/index.html
© Copyright Doug Hellmann. | Last updated on Jun 14, 2009. | Created using Sphinx. | Design based on "Leaves" by SmallPark
2 de 2 15/06/2009 10:32