Did I find the right examples for you? yes no

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)

src/m/i/MiniAkio-HEAD/blog/apps/picky.py   MiniAkio(Download)
from utils import template, to_markdown, to_unicode, authenticate
 
from config import PICKY_DIR
 
picky = Bottle()
    if picky.file and (file_type == 'md'):
        fin = picky.file.read()
        fout = open(PICKY_DIR + name, 'w')
        fout.write(fin)
        fout.close()
def single_picky(slug='test'):
    try:
        f = open(PICKY_DIR + slug + '.md')
    except IOError:
        abort(404)