Add import statement

Should add this import statement to make it more user friendly, especially for the beginners in Python.
This commit is contained in:
Ian Gao
2019-04-11 19:03:15 +08:00
committed by GitHub
parent 9742da7f91
commit 37011aaa3f
+1
View File
@@ -18,6 +18,7 @@ consumption.
Behold, the power of Requests:
``` {.sourceCode .python}
>>> import requests
>>> r = requests.get('https://api.github.com/user', auth=('user', 'pass'))
>>> r.status_code
200