parameters: (paths)
docstring: Move the given paths to the trash can
      
      Required Arguments:
      paths -- path or list of paths to move to the trash can
docstring_summary: Move the given paths to the trash can
      
      Required Arguments:
      paths -- path or list of paths to move to the trash can
docstring_tokens: Move the given paths to the trash can Required Arguments : paths -- path or list of paths to move to the trash can
function: def MoveToTrash(paths):
      """
      Move the given paths to the trash can
      
      Required Arguments:
      paths -- path or list of paths to move to the trash can
      
      """
      # Make sure that we are always dealing with a list
      if isinstance(paths, basestring):
          paths = [paths] 
         
      # Get absolute paths and make sure files exist
      paths = [os.path.abspath(x) for x in paths 
                                  if os.path.exists(os.path.abspath(x))]
      
      # Run the correct trash function
      if OSX:
          return _osxTrash(paths)
      elif WIN:
          return _winTrash(paths)
      else:
          return _unixTrash(paths)
function_tokens: def MoveToTrash ( paths ) : # Make sure that we are always dealing with a list if isinstance ( paths , basestring ) : paths = [ paths ] # Get absolute paths and make sure files exist paths = [ os . path . abspath ( x ) for x in paths if os . path . exists ( os . path . abspath ( x ) ) ] # Run the correct trash function if OSX : return _osxTrash ( paths ) elif WIN : return _winTrash ( paths ) else : return _unixTrash ( paths )