Skip to content

Instantly share code, notes, and snippets.

@Jackpakistan
Jackpakistan / __init__.py
Created Sep 13, 2012 — forked from ipconfiger/__init__.py
OAuth包,实现了sina,QQ,网易,搜狐的OAuth认证
View __init__.py
# -*- Encoding: utf-8 -*-
import base64
import binascii
import cgi
import hashlib
import hmac
import logging
import time
import urllib
import urlparse