python tutorial

2 posts

Request library in Python

–– coding: utf-8 –– “”” Created on Fri Dec 13 22:26:18 2019 https://2.python-requests.org//pl/latest/user/quickstart.html @author: token “”” libs import requests strUrlAddress = ‘https://amazon.com’ get all url html data as text requests.get(strUrlAddress).text test a = requests.get(strUrlAddress) return html data a.text return encoding a.encoding json with server data , text lenthetc., meta, length […]