def reveal_path(self): path = str(self.text()) if os.path.exists(path): utilities.show_file_in_folder(path)
def show_content_in_file_browser(project_item, file_items): print 'showing in finder' print project_item, file_items path = file_items[0].content.nice_path() utilities.show_file_in_folder(path)
def show_content_in_file_browser(project_item,file_items): print 'showing in finder' print project_item,file_items path = file_items[0].content.nice_path() utilities.show_file_in_folder(path)