]> git.phdru.name Git - m_lib.git/blob - m_lib/hash/test/test-shelve2.py
Use print function for Py3 compatibility
[m_lib.git] / m_lib / hash / test / test-shelve2.py
1 #! /usr/bin/env python
2
3
4 from __future__ import print_function
5 import shelve
6
7 db = shelve.open("db", 'r')
8 print(db["test"])
9 db.close()