Skip to content

Instantly share code, notes, and snippets.

View feconroses's full-sized avatar

Federico Pascual feconroses

View GitHub Profile
jrivero /
Created July 15, 2011 20:33 — forked from palewire/
A Python CSV splitter
import os
def split(filehandler, delimiter=',', row_limit=10000,
output_name_template='output_%s.csv', output_path='.', keep_headers=True):
Splits a CSV file into multiple pieces.
A quick bastardization of the Python CSV library.
yanofsky / LICENSE
Last active December 16, 2023 22:57
A script to download all of a user's tweets into a csv
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit
arulrajnet /
Created January 4, 2015 18:08
Dump all tweets as CSV of given twitter handle using #Tweepy
# -*- coding: utf-8 -*-
import tweepy #
import json
import csv
import sys
# Twitter API credentials
consumer_key = "your_consumer_key"
consumer_secret = "your_consumer_secret"