Feb-05-2022, 06:00 AM
while using the python tutor site I am trying to import request module. But it is showing following error as shown in the image link.
kindly share the workaround so that it can work in python tutor site
kindly share the workaround so that it can work in python tutor site
import requests import json import os headers = {'PRIVATE-TOKEN': 'a7GMzfzuT4mi8Z2YiH'} response = requests.get('https://gitlab.rd-services.com/api/v4/runners', headers = headers) jsonResponse = response.json()