Skip to content

Instantly share code, notes, and snippets.

View kenwoodjw's full-sized avatar
💭
I may be slow to respond.

kenwoodjw

💭
I may be slow to respond.
View GitHub Profile
@kenwoodjw
kenwoodjw / excel2mysql.py
Created January 19, 2018 06:42 — forked from anubhavsinha/excel2mysql.py
simple excel to mysql in python
# following Python packages needs to be installed
# xlrd, xlsxrd, unidecode, MySQLdb
import xlrd
import xlsxrd
import MySQLdb as mdb
import re
import unidecode
@kenwoodjw
kenwoodjw / client.py
Created April 15, 2017 07:26 — forked from dongweiming/client.py
知乎API爬虫
# coding=utf-8
import os
import json
import time
import requests
from requests.auth import AuthBase
from settings import LOGIN_URL, CAPTCHA_URL
from config import (
API_VERSION, APP_VERSION, APP_BUILD, UUID, UA, APP_ZA, CLIENT_ID,