This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from datetime import datetime | |
from datetime import timedelta | |
from itertools import islice | |
from os import walk | |
import csv | |
import json | |
import sys | |
# --histo for simple msg frequency from a particular chat (point it to the specific directory) | |
# --ts for time series data, ie 2d array of [date, person] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def meme(): | |
word = raw_input("enter word: ") | |
for c in word: | |
print c.upper(), " ", | |
for i, c in enumerate(word[1:-1]): | |
print c.upper(), " " * ((len(word) - 1) * 4 - 3), word[len(word)-i-2].upper() | |
for c in word[::-1]: |