Detected 1 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*["'][a-z0-9\-_\!\$]+["']‘: form data protein = form.getfirst("prot") req.write( "<h2>Sequences from "+protein+"</h2>" ) # connect to the db try: cnx = MySQLdb.connect( host="biolarfs1", db="Y1447976", user="Y1447976", passwd="Y1447976" ) except MySQLdb.Error, e: req.write(str(e)) # do the query cur = cnx.cursor() cur.execute("SELECT scientificSpecies, protSequenc FROM ProteinsMaster WHERE ProteinName = %s", (protein)) # display the results rows […]
↧