-1
count1= cur.rowcount
print count1
count=0
for vari in cur:
print count
str=cur.fetchone()
#print str[0]
#print str[1]
#print str[2]
#print str[3]
#print str[4]
#print str[5]
if str[2]=='Extract':
word='This report '+' is about '+str[0]
else:
word='This '+ str[2] +' is about '+str[0]
count+=1
print count
인쇄는 테이블에 총 NOF 기록의 수를 보여줍니다 cur.rowcount를 사용하여 내 테이블의 레코드에는 총 없지만 언제 하나 기록을 인출 한 다음 내 카운트 변수를 증가시 이유는 무엇입니까?표시