Detected 1 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*["'][a-z0-9\-_\!\$]+["']‘: # -*- coding: cp1252 -*- import pymysql con = pymysql.connect(host='localhost', user='root', passwd='root') cur = con.cursor() #Lager databasen sql = "CREATE DATABASE IF NOT EXISTS timeliste" print "Database timeliste er opprettet!" cur.execute(sql) #OPPG.: 2 #Lager tabellene sql = """CREATE TABLE IF NOT EXISTS timeliste.ansatte(idansatte INT NOT N Source: http://pastebin.com/raw.php?i=2Gc9Q24q
↧