Inicio › Foros › Lenguajes de programación, desarrollo, código fuente › Python › Silenciar error Python InsecureRequestWarning Unverified HTTPS request RESUELTO › Respuesta a: Silenciar error Python InsecureRequestWarning Unverified HTTPS request RESUELTO
01/24/2024 a las 19:33
#50336
alonsojpd
Superadministrador
Para silenciar los warning añade esto al principio del programa Python, justo después de tu línea «import requests»:
Python
1 2 3 4 5 6 |
import requests import urllib3 urllib3.disable_warnings() # Resto del código Python |