(continued from previous page args parser parse_args(save arguments in args loc path(args location[ ] items=[for in loc rglob(args name)if args type ="dand is_dir()items append(lelif args type ="fand is_file()items append(lelif args type ="all"items append( print output for in itemsprint( (show files which starts with ' 'find -name " *-type " /file txt /file txt /find_ex py python find_ex py --name " *file txt file txt find_ex py --type " (show directories which starts with ' 'python find_ex py --name " *--type "df folder python find_ex py --name " *--type "df folder (show everything which starts with ' 'find -name " */ /file txt /file txt /find_ex py /folder python find_ex py --name " * file txt file txt find_ex py folder (show all directoriesfind -type " / /folder (continues on next page find