Exemple #1
0
import json
import pprint as pp

import os
import sys

sys.path.insert(0, '../')

from accordion import multiplexer

f, metadata = multiplexer.read(["foo", "bar.txt"])
print f
print metadata
Exemple #2
0
 def GET(self, *args, **kwargs):
     try:
         multiplexer.read(args)
         return "<h1>Now make this work</h1>"
     except multiplexer.FileNotFoundException, e:
         return "<h1>File not found!</h1>"