def copy_path(filename, absolute=True):
 if (filename is None):
  return
 if absolute:
  filename = core.abspath(filename)
 set_clipboard(filename)

def copy_path ( filename , absolute = True ) : if ( filename is None ) : return if absolute : filename = core . abspath ( filename ) set_clipboard ( filename )
copy a filename to the clipboard .