We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ced10c commit 2a28f7eCopy full SHA for 2a28f7e
1 file changed
test/test_pv.py
@@ -0,0 +1,30 @@
1
+#!/usr/bin/env python
2
+# encoding: utf-8
3
+
4
+"""
5
+@author: zhanghe
6
+@software: PyCharm
7
+@file: test_pv.py
8
+@time: 2017/7/27 下午3:21
9
10
11
12
+import requests
13
14
+s = requests.session()
15
16
+url = 'http://www.ribble.top/article-detials/7'
17
18
19
+def fk():
20
+ r = s.get(url)
21
+ print r.url
22
23
24
+def run():
25
+ for i in range(1000):
26
+ print i,
27
+ fk()
28
29
+if __name__ == '__main__':
30
+ run()
0 commit comments