def new_finder(paths=None, parent=None):
 widget = Finder(parent=parent)
 widget.search_for((paths or u''))
 return widget

def new_finder ( paths = None , parent = None ) : widget = Finder ( parent = parent ) widget . search_for ( ( paths or u'' ) ) return widget
create a finder widget .