Skip to content

Instantly share code, notes, and snippets.

View Kelvince01's full-sized avatar
💭
Keep It Simple, Stupid and DRY

Kelvince Kelvince01

💭
Keep It Simple, Stupid and DRY
View GitHub Profile
@bradtraversy
bradtraversy / python_mysql.py
Last active August 5, 2023 12:47
Python & MySQL crash course for beginners
import mysql.connector
from mysql.connector import errorcode
config = {
'user': 'root',
'password': '',
'host': 'localhost',
'database': 'acme'
}