python urllib2练习发送简单post
摘要:
import urllib2 import urllib url = 'http://localhost/1.php' while True: data = raw_input('(ctrl+c exit)cmd>').strip() post = {} post['cmd'] = data content = urllib2.urlopen(url=url,d... 阅读全文
posted @ 2017-06-01 10:01 Perl6 阅读(342) 评论(0) 推荐(0) 编辑