執(zhí)行 下面的幾個取數(shù)據(jù)的操作 都必須要執(zhí)行execute(sql) ,之后的取數(shù)據(jù)出去 fetchall()其余的都是有指針的,即取過一次后指針后移。
2018-07-31
我覺得老師有一個問題沒有講明白。即執(zhí)行下面的 取數(shù)據(jù)操作的前提是 執(zhí)行 execute()
2018-07-31
E:\Anaconda3\envs\python\python.exe E:/python/frist.py
Process finished with exit code 0
我的就出一個這個就完了,沒視頻里那么多數(shù)據(jù)
Process finished with exit code 0
我的就出一個這個就完了,沒視頻里那么多數(shù)據(jù)
2018-04-08
Traceback (most recent call last):
File "D:/PycharmProjects/untitled/imooc/wiki.py", line 12, in <module>
if not re.search("\.(jpg|JPG)$",url1["href"]):
TypeError: string indices must be integers
File "D:/PycharmProjects/untitled/imooc/wiki.py", line 12, in <module>
if not re.search("\.(jpg|JPG)$",url1["href"]):
TypeError: string indices must be integers
2018-03-15