Module and package tracebacks
When using functions from modules and packages, code from downloaded files will be run in the background.
If this code produces an error, the traceback will mention the name of the file in which the error occurred.
Running this code produces the following error. In what file does the error occur?
import requests
requests.get(url="https://app.datacamp.com", content=True)
This exercise is part of the course
Intermediate Python for Developers
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
