parameters: (self, writer=common.WriteOnDiff)
docstring: Writes the project file.
docstring_summary: Writes the project file.
docstring_tokens: Writes the project file .
function: def Write(self, writer=common.WriteOnDiff):
      """Writes the project file."""
      f = writer(self.project_path)
      fix = xml_fix.XmlFix()
      self.doc.writexml(f, encoding='Windows-1252', addindent='  ', newl='\r\n')
      fix.Cleanup()
      f.close()
function_tokens: def Write ( self , writer = common . WriteOnDiff ) : f = writer ( self . project_path ) fix = xml_fix . XmlFix ( ) self . doc . writexml ( f , encoding = 'Windows-1252' , addindent = '  ' , newl = '\r\n' ) fix . Cleanup ( ) f . close ( )