importmysql.connector
mydb = mysql.connector.connect(host="localhost",user="root",password="",database="bipython")
mycursor = mydb.cursor()
mycursor.execute("SELECT * FROM `mainlist_depo` WHERE pdf_url=''")
myresult = mycursor.fetchall()
forxinmyresult:barkod = x[1]mycursor.execute("SELECT 'pdf_url' FROM kub_html_data " + "WHERE 'barcode'=""{'"+barkod+"'}")




hata olarak bunu alıyorum