concept server in category python

appears as: server, servers
Deep Learning with Python, Second Edition

This is an excerpt from Manning's book Deep Learning with Python, Second Edition.

  • Your production environment may not support Python at all — for instance, if it’s a mobile app or an embedded system.
  • Hello! Python

    This is an excerpt from Manning's book Hello! Python.

    If Yahoo decided to change the design of their site, what would happen to your script? If it’s expecting a particular ID within the HTML and that ID is removed, then your script will break. Alternately, there could be a partial outage and you’ll see null or zero values. Or if the server is under load, you might see timeout errors or only receive half a page. How does your script handle that? Does it try to parse the error page and fail? Or does it recognize what’s happened? In the worst case, it will have data that looks similar to the data you’re expecting, you won’t notice it’s changed, and your data will be silently corrupted.

    The first line (after the initial greeting) goes to telnet_User and sets the username within the instance . The transport.will() call tells the local client that the server (that is, you) will be responsible for echoing anything the user types—but in this case, it’s the password, so you don’t. Then "Password" is returned, so the next line goes to telnet_Password.

    Listing 10.16. Updating the server