Skip to content

Instantly share code, notes, and snippets.

View Datasciencewonk's full-sized avatar

KC Datasciencewonk

View GitHub Profile
@Datasciencewonk
Datasciencewonk / tweet_dumper.py
Created May 19, 2017 17:05 — forked from yanofsky/LICENSE
A script to download all of a user's tweets into a csv
#!/usr/bin/env python
# encoding: utf-8
import tweepy #https://github.com/tweepy/tweepy
import csv
#Twitter API credentials
consumer_key = ""
consumer_secret = ""
access_key = ""
@Datasciencewonk
Datasciencewonk / html2csv.py
Created April 15, 2017 17:03 — forked from arne-cl/html2csv.py
extract all tables from an HTML file and write them into one CSV file
#!/usr/bin/python
# -*- coding: iso-8859-1 -*-
# Hello, this program is written in Python - http://python.org
programname = 'html2csv - version 2002-09-20 - http://sebsauvage.net'
import sys, getopt, os.path, glob, HTMLParser, re
try: import psyco ; psyco.jit() # If present, use psyco to accelerate the program
except: pass