From 0a4de77aae6bca42d95a0923f3a9c85a3e29227c Mon Sep 17 00:00:00 2001 From: Klaus-Uwe Mitterer Date: Mon, 1 Aug 2016 18:03:07 +0200 Subject: [PATCH] Kick out followertxt.py which isn't going to be used anymore --- followertxt.py | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100755 followertxt.py diff --git a/followertxt.py b/followertxt.py deleted file mode 100755 index 4e8deaa..0000000 --- a/followertxt.py +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/env python3 - -import twitools, setuptools -import os, time, tweepy - -def getOutDir(dirname="followers"): - if not os.path.isdir(dirname): - os.mkdir(dirname) - -def getOutFile(dirname="followers"): - getOutDir(dirname) - return os.path.join(dirname, str(int(time.time())) + ".txt") - -def writeOutFile(outfile=getOutFile()): - with open(getOutFile(), 'a') as f: - for follower in twitools.getNamesByIDs(twitools.getFollowerIDs()): - f.write(follower + "\n") - -if __name__ == "__main__": - writeOutFile()