def getSearchUser(search1,idUser): #user = request.args.get('iduser',default='*',type =str) search = Buscador() p=search.buscarU(search1) with open('info.txt', 'w') as the_file: the_file.write(p) return p
def info_user(idUser): #user = request.args.get('iduser',default='*',type =str) search = Buscador() return search.buscarU(idUser)