Get startedGet started for free

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)

Traceback from using an invalid keyword argument in the get function from the requests module

This exercise is part of the course

Intermediate Python for Developers

View Course

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise