python
文章平均质量分 70
皮凯
软件测试
展开
-
eclipse配置python插件
1、单击help->Instance New Software->Available Software Sites->Add,在Name中自定义一个名称,Location中输入:http://pydev.org/updates,然后单击OK2、在Work with输入栏中选择刚刚创建的链接,name + Location,然后勾选 Pydev,单击next配置pydev1、单击wind原创 2013-08-29 21:18:01 · 342 阅读 · 0 评论 -
正则表达式match和findall的区别
在python中match和findall两个方法都可yonghu原创 2014-04-17 16:06:30 · 3580 阅读 · 1 评论 -
解决python查询报%d format: a number is required, not str问题
【问题描述】1、在一条查询语句中,查询条件既包含了整形又包含了字符串型,执行查询函数后,直接报%d format: a number is required, not str2、例如 ,如下sql 语句 sql = 'select productid from product where productid = %d and productName = %s'【实例代码】原创 2017-05-21 17:03:52 · 64600 阅读 · 7 评论