parameters: (inpath, outpath, commentPrefix, eolType, *lists)
docstring: Generate 'outpath' from 'inpath'.
  
  	    "eolType" indicates the type of EOLs to use in the generated
  	        file. It should be one of following constants: LF, CRLF,
  	        CR, or NATIVE.
docstring_summary: Generate 'outpath' from 'inpath'.
docstring_tokens: Generate outpath from inpath .
function: def Generate(inpath, outpath, commentPrefix, eolType, *lists):
  	"""Generate 'outpath' from 'inpath'.
  
  	    "eolType" indicates the type of EOLs to use in the generated
  	        file. It should be one of following constants: LF, CRLF,
  	        CR, or NATIVE.
  	"""
  	#print "generate '%s' -> '%s' (comment prefix: %r, eols: %r)"\
  	#      % (inpath, outpath, commentPrefix, eolType)
  	try:
  		infile = open(inpath, "r")
  	except IOError:
  		print "Can not open", inpath
  		return
  	original = infile.read()
  	infile.close()
  	updated = CopyWithInsertion(original, commentPrefix,
  		inpath == outpath, eolType, *lists)
  	UpdateFile(outpath, updated)
function_tokens: def Generate ( inpath , outpath , commentPrefix , eolType , * lists ) : #print "generate '%s' -> '%s' (comment prefix: %r, eols: %r)"\ #      % (inpath, outpath, commentPrefix, eolType) try : infile = open ( inpath , "r" ) except IOError : print "Can not open" , inpath return original = infile . read ( ) infile . close ( ) updated = CopyWithInsertion ( original , commentPrefix , inpath == outpath , eolType , * lists ) UpdateFile ( outpath , updated )