[Python] How to generate random number in a range in makefile?

Discussão em 'Python' iniciado por Stack, Dezembro 20, 2024.

  1. Stack

    Stack Membro Participativo

    I'm implementing a server-client chatroom in python. When debugging in localhost, it is annoying to wait until the debugged port is free when the threads are shutdown. How can I have a random number for port number within range [1023, 65535) in my makefile?

    Continue reading...

Compartilhe esta Página