Skip to content

Instantly share code, notes, and snippets.

@goldsborough
goldsborough / database.py
Created September 3, 2014 10:07
Python Sqlite3 wrapper
###########################################################################
#
## @file database.py
#
###########################################################################
import sqlite3
###########################################################################
#
@vsajip
vsajip / mplog3.py
Created April 7, 2012 18:45
Example of logging and multiprocessing
import logging
import logging.config
import logging.handlers
from multiprocessing import Process, Queue, Event, current_process
import os
import random
import time
class MyHandler(object):
"""