Skip to content

Instantly share code, notes, and snippets.

Avatar
💚
Nurturing my little GitHub garden

Simranjeet Singh smrnjeet222

💚
Nurturing my little GitHub garden
View GitHub Profile
View Basics.go
package main
import (
"fmt"
"strconv"
)
// k:=6 not possible in global scope
var (
// lowercase 1st letter var are scoped to the package
@smrnjeet222
smrnjeet222 / python_mysql.py
Created Jul 17, 2020 — forked from bradtraversy/python_mysql.py
Python & MySQL crash course for beginners
View python_mysql.py
import mysql.connector
from mysql.connector import errorcode
config = {
'user': 'root',
'password': '',
'host': 'localhost',
'database': 'acme'
}