def preprocess(file_or_url, defaults=None):
 import tempfile
 import atexit
 def unlink(path):
  try:
   os.unlink(path)
  except:
   pass
 parser = Configuration(use_ordered_sections=True)
 parser.read(file_or_url)
 (fd, path) = tempfile.mkstemp(suffix='.cfg')
 atexit.register(unlink, path)
 parser.write(os.fdopen(fd, 'w'))
 return path

def preprocess ( file_or_url , defaults = None ) : import tempfile import atexit def unlink ( path ) : try : os . unlink ( path ) except : pass parser = Configuration ( use_ordered_sections = True ) parser . read ( file_or_url ) ( fd , path ) = tempfile . mkstemp ( suffix = '.cfg' ) atexit . register ( unlink , path ) parser . write ( os . fdopen ( fd , 'w' ) ) return path
process all include directives in the specified file .