cybertools/storage
helmutm d21b4a8f80 created cybertools.storage
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@1396 fd906abe-77d9-0310-91a1-e0d9ade77398
2006-10-08 22:56:51 +00:00
..
__init__.py created cybertools.storage 2006-10-08 22:51:37 +00:00
filesystem.py created cybertools.storage 2006-10-08 22:56:51 +00:00
interfaces.py created cybertools.storage 2006-10-08 22:51:37 +00:00
README.txt created cybertools.storage 2006-10-08 22:56:51 +00:00
tests.py created cybertools.storage 2006-10-08 22:51:37 +00:00

===============================
Controlling the storage of data
===============================

  ($Id$)

  >>> import os
  >>> from cybertools import storage
  >>> directory = os.path.dirname(storage.__file__)

  >>> from cybertools.storage.filesystem import explicitDirectoryStorage
  >>> storage = explicitDirectoryStorage(os.path.join(directory, 'testdata'))
  >>> storage.getDir('demo')
  '/home/.../cybertools/storage/testdata/demo'