def compileAssembly(file_name):
 cp = CompilerParameters()
 cp.GenerateExecutable = False
 cp.OutputAssembly = (file_name.split('.cs')[0] + '.dll')
 cp.GenerateInMemory = False
 cp.TreatWarningsAsErrors = False
 cp.IncludeDebugInformation = True
 cp.ReferencedAssemblies.Add('IronPython.dll')
 cr = PROVIDER.CompileAssemblyFromFile(cp, file_name)

def compileAssembly ( file_name ) : cp = CompilerParameters ( ) cp . GenerateExecutable = False cp . OutputAssembly = ( file_name . split ( '.cs' ) [ 0 ] + '.dll' ) cp . GenerateInMemory = False cp . TreatWarningsAsErrors = False cp . IncludeDebugInformation = True cp . ReferencedAssemblies . Add ( 'IronPython.dll' ) cr = PROVIDER . CompileAssemblyFromFile ( cp , file_name )
helper function compiles a * .