码迷,mamicode.com
首页 > 编程语言 > 详细

python for循环

时间:2017-07-25 14:23:50      阅读:199      评论:0      收藏:0      [点我收藏+]

标签:dict   range   substring   cat   substr   weight   from   循环   int   

sql1="select  distinct SUBSTRING (name,3,8)  from profin_application "
cr.execute(sql1)
dict1=cr.fetchall()
i=0
l=len(dict1)
for i in range(l):
print dict1[i][0]

python for循环

标签:dict   range   substring   cat   substr   weight   from   循环   int   

原文地址:http://www.cnblogs.com/1314520xh/p/7233612.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!