1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

[Python] Stopping Python using Ctrl + C

Discussão em 'Python' iniciado por Stack, Fevereiro 17, 2025.

  1. Stack

    Stack Membro Participativo

    I have a Python script that uses threads and makes lots of HTTP requests.

    I think, while a HTTP request (using urllib2) is reading, it's blocking and not responding to Ctrl + C to stop the program. Is there a way around this?

    Continue reading...

Compartilhe esta Página