Use Bottle Library Program Web Server Enable Updateserverpy Use Python S Import Functional Q37086390

  • We will use the ​bottle​ library to program our web server. Toenable this, updateserver.py​ to use Python’s ​import​functionality to give your project access to thebottle​library.
    Note that repl.it will automatically install the library the firsttime you run your program (and only that first time). Do not besurprised when you can see this happen in the console portion ofyour repl.

  • ● We will also need code in ​server.py​ be able to accessfunctionality we will write inart.py​. Use the same ​import​methodology to create create this link in ​server.py​.

  • ● Write code in your ​server.py​ file so that ​bottle​ handlesrequests that are routed to

    “​/map.js​” by returning

    OR
    OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.