def change_settings(new_settings={}, file=None):
 gl = globals()
 if (file is not None):
  execfile(file)
  gl.update(locals())
 gl.update(new_settings)

def change_settings ( new_settings = { } , file = None ) : gl = globals ( ) if ( file is not None ) : execfile ( file ) gl . update ( locals ( ) ) gl . update ( new_settings )
changes the value of configuration variables .