You are here : python_3requestsrtext

r.text - requests

Python requests response objects text.

Get Text from Requests Response Object.


Syntax

r=requests.get(url)
print(r.text)


Example

import requests
r=requests.get('http://example.com')
print(r.text)


Output / Return Value


Limitations


Alternatives / See Also


Reference