Did I find the right examples for you? yes no

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

        def list_files(d, filter_func=None, recur=False):
    return [path for path in list_files_g(d, filter_func, recur)]
        


src/w/e/web-blog-HEAD/scripts/regen.py   web-blog(Download)
 
import os, markdown, web, util
from util import read_file_utf8, write_file_utf8, list_files, ext
 
def is_markdown_file(path):
def main():
	md_files = list_files("www", is_markdown_file, recur=True)
	for md_file in md_files:
		html_file = md_file[:-2] + "html"
		md_to_html(md_file, html_file)