#!/usr/bin/env python # coding: utf-8 # In[4]: import sys import re # In[5]: f = open("transforms.md", "r") contents = f.read() # In[6]: t = "hello {{method Jeremy}} there {{method close}}" # In[7]: def do_method(ps): return str(ps) # In[11]: fn_lu = {#'class': sub_class, #'arguments': sub_arguments, #'arg': sub_arg, #'xref': sub_xref, #'methods': sub_methods, 'method': do_method} # In[ ]: def sub_methods(): """