def show_cfg(resource_url, escape=u'##'):
 resource_url = normalize_resource_url(resource_url)
 resource_val = load(resource_url, format=u'text', cache=False)
 lines = resource_val.splitlines()
 for l in lines:
  if l.startswith(escape):
   continue
  if re.match(u'^$', l):
   continue
  print(l)

def show_cfg ( resource_url , escape = u'##' ) : resource_url = normalize_resource_url ( resource_url ) resource_val = load ( resource_url , format = u'text' , cache = False ) lines = resource_val . splitlines ( ) for l in lines : if l . startswith ( escape ) : continue if re . match ( u'^$' , l ) : continue print ( l )
write out a grammar file .