码迷,mamicode.com
首页 >  
搜索关键字:requests 、beautifulsoup    ( 5272个结果
[python]如何在requests post时不做urlencode?
这两天要为公司一个项目的服务端写性能测试脚本,其中有一个请求订单号的接口,需要客户端用post请求向服务端发送加密过的token 和订单数据。代码如下: payload = {'token':token,'order_data':order_data} r = requests.post(url, data=payload} 但是,服务端返回错误,花了很长时间检查了token和order_d...
分类:编程语言   时间:2014-06-05 05:28:23    阅读次数:839
IntentService实现下载
?? IntentService is a base class for Services that handle asynchronous requests (expressed as Intents) on demand. Clients send requests through startService(Intent) calls; the service is starte...
分类:其他好文   时间:2014-06-05 03:03:46    阅读次数:262
TI_DSP_corePac_带宽管理 - 2(举例)
The master DMA arbitration control register (MDMAARBU) controls the priority levels of MDMA requests going out of CorePac. It controls the priority levels used by the L2 memory controller when sendi...
分类:其他好文   时间:2014-06-03 02:39:09    阅读次数:311
Python:Windows8下安装BeautifulSoup
运行环境:Windows 8.1Python:2.7.6在安装的时候,我使用的pip来进行安装,命令如下:pip install beautifulsoup4运行的时候,报错如下:Exception:Traceback (most recent call last): File "J:\Progr....
分类:编程语言   时间:2014-06-02 11:45:30    阅读次数:420
java.lang.Exception: No tests found matching Method deleteById(cn.bytestream.mongodb.MongoDB4CRUDTest)
java.lang.Exception: No tests found matching Method deleteById(cn.bytestream.mongodb.MongoDB4CRUDTest) from org.junit.internal.requests.ClassRequest@2...
分类:数据库   时间:2014-05-31 03:23:50    阅读次数:483
win8发布 wcf问题
WCF services don’t run on IIS 8 with the default configuration, because the webserver doesn’t know, how to handle incoming requests targeting .svc fil...
分类:Windows程序   时间:2014-05-30 06:12:19    阅读次数:314
压力测试的轻量级具体做法
压力测试的轻量级具体做法一:压力测试中需要掌握的几个基本概念1:吞吐率(Requests per second)服务器并发处理能力的量化描述,单位是reqs/s,指的是某个并发用户数下单位时间内处理的请求数。某个并发用户数下单位时间内能处理的最大请求数,称之为最大吞吐率。记住:吞吐率是基于并发用户数...
分类:其他好文   时间:2014-05-26 10:12:04    阅读次数:276
Android异步HTTP客户端的特点
Features Make asynchronous HTTP requests, handle responses in anonymous callbacksHTTP requests happen outside the UI threadRequests use a threadpool to cap concurrent resource usageGET/POST params ...
分类:移动开发   时间:2014-05-26 04:08:22    阅读次数:330
[Python]BeautifulSoup—HTML解析包
在用Python写爬虫时,一个常见的操作是对抓下的HTML做分析处理,得到想要的内容。一般的方法为使用Python的re库中,用正则表达式来解析文本。不过这种方法适用于所有的文本,而针对于特定格式的文本,如这里的HTML,BeautifulSoup更具有针对性,使用起来也更方便。 BeautifulSoup可以解析HTML,XML等文件,这里只说明其解析HTML的功能。   Beautifu...
分类:编程语言   时间:2014-05-22 12:56:51    阅读次数:682
linux install 命令
--yum install$sudo yum install email--easy install$sudo easy_install requests boto--python install$ easy_install requests--apt-get installsudo apt-get...
分类:系统相关   时间:2014-05-22 03:54:14    阅读次数:405
5272条   上一页 1 ... 524 525 526 527 528 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!