Detected 2 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*["'][a-z0-9\-_\!\$]+["']‘: f).__init__(*args, **kwargs2) TypeError: 'password' is an invalid keyword argument for this function import MySQLdb db = MySQLdb.connect(host = "127.0.0.1", port = 3306, user="Bishnu", #password = "Pulchowk", db = "telecom_db") cursor =db.cursor() cursor.execute("select * from profile") numrows = int(cursor.rowcount) for x in range(numrows): row = cursor.fetchone() #if (row): print row[0], row[1] […]
↧