parameters: (self, filename)
docstring: Write the :py:class:`ConfigSet` data into a file. See :py:meth:`ConfigSet.load` for reading such files.
  
  		:param filename: file to use
  		:type filename: string
docstring_summary: Write the :py:class:`ConfigSet` data into a file. See :py:meth:`ConfigSet.load` for reading such files.
docstring_tokens: Write the : py : class : ConfigSet data into a file . See : py : meth : ConfigSet . load for reading such files .
function: def store(self, filename):
  		"""
  		Write the :py:class:`ConfigSet` data into a file. See :py:meth:`ConfigSet.load` for reading such files.
  
  		:param filename: file to use
  		:type filename: string
  		"""
  		try:
  			os.makedirs(os.path.split(filename)[0])
  		except OSError:
  			pass
  
  		buf = []
  		merged_table = self.get_merged_dict()
  		keys = list(merged_table.keys())
  		keys.sort()
  
  		try:
  			fun = ascii
  		except NameError:
  			fun = repr
  
  		for k in keys:
  			if k != 'undo_stack':
  				buf.append('%s = %s\n' % (k, fun(merged_table[k])))
  		Utils.writef(filename, ''.join(buf))
function_tokens: def store ( self , filename ) : try : os . makedirs ( os . path . split ( filename ) [ 0 ] ) except OSError : pass buf = [ ] merged_table = self . get_merged_dict ( ) keys = list ( merged_table . keys ( ) ) keys . sort ( ) try : fun = ascii except NameError : fun = repr for k in keys : if k != 'undo_stack' : buf . append ( '%s = %s\n' % ( k , fun ( merged_table [ k ] ) ) ) Utils . writef ( filename , '' . join ( buf ) )