Skip to content

Instantly share code, notes, and snippets.

@shaktisd
shaktisd / list.md
Created November 12, 2022 13:35 — forked from ih2502mk/list.md
Quantopian Lectures Saved
@shaktisd
shaktisd / twitter crawler.txt
Created June 30, 2018 16:52 — forked from vickyqian/twitter crawler.txt
A Python script to download all the tweets of a hashtag into a csv
import tweepy
import csv
import pandas as pd
####input your credentials here
consumer_key = ''
consumer_secret = ''
access_token = ''
access_token_secret = ''
auth = tweepy.OAuthHandler(consumer_key, consumer_secret)
from __future__ import print_function
import numpy as np
from keras.callbacks import Callback
from keras.layers import Dense
from keras.layers import LSTM
from keras.models import Sequential
from numpy.random import choice
from utils import prepare_sequences