Skip to content

Instantly share code, notes, and snippets.

View wettenhj's full-sized avatar

James Wettenhall wettenhj

  • Monash University
  • Melbourne
View GitHub Profile
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Proof of concept that produces a virtual FUSE-mountable
# file/directory structure from a python dictionary
# By Steve Androulakis <http://github.com/steveandroulakis>
# Requires FUSE (linux: use package manager to install)
# Requires python-fuse pip install fuse-python
# USE:
# Mount: ./dict-fuse.py mnt -f
# Unmount: fusermount -u -z mnt