Function mapping

Let’s look at another simple example and examine how the sourcemap that Transcrypt generates can help us with debugging our Python code in the web browser.

Again, like in the previous chapter, we’ll use a Python source file containing a function that we will call from an HTML file opened in a web browser.

Get hands-on with 1200+ tech skills courses.