Leaflet with Python and CherryPy
The Python programming language is extremely powerful and has a large number of standard libraries and other third-party libraries. It is also fairly easy to pick up for simple tasks. There is extensive documentation, and a large number of books and different libraries are available on the language. You can download Python from the Python website at https://www.python.org/downloads/. Version 3 is the latest; however, Version 2.7 is still in use. It is probably best to start learning with Version 3, but if you have v2.7, it will work with the examples.
In this example, you will use the CherryPy library. You can download the library at http://www.cherrypy.org/.
Note
For more books on CherryPy and Python web development, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access