parameters: (inpath, outpath, commentPrefix, retainDefs, *lists)
docstring: Generate 'outpath' from 'inpath'.
docstring_summary: Generate 'outpath' from 'inpath'.
docstring_tokens: Generate outpath from inpath .
function: def GenerateFile(inpath, outpath, commentPrefix, retainDefs, *lists):
      """Generate 'outpath' from 'inpath'.
      """
  
      try:
          with codecs.open(inpath, "r", "UTF-8") as infile:
              original = infile.read()
          updated = CopyWithInsertion(original, commentPrefix,
              retainDefs, lists)
          UpdateFile(outpath, updated)
      except IOError:
          print("Can not open %s" % inpath)
function_tokens: def GenerateFile ( inpath , outpath , commentPrefix , retainDefs , * lists ) : try : with codecs . open ( inpath , "r" , "UTF-8" ) as infile : original = infile . read ( ) updated = CopyWithInsertion ( original , commentPrefix , retainDefs , lists ) UpdateFile ( outpath , updated ) except IOError : print ( "Can not open %s" % inpath )