def __init__(self,root):
self.root = Path(root).expanduser().abspath()<EOL>if not self.root.isdir():<EOL><INDENT>self.root.makedirs()<EOL><DEDENT>self.cache = {}<EOL>
Return a db object that will manage the specied directory