Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@karanparikh
karanparikh / challenge.py
Created October 1, 2015 07:06
Script to analyze blog posts I wrote
from sys import argv
from os import listdir
from re import split
from collections import Counter
class Post(object):
def __init__(self, title, content):
self.title = title
self.content = map(lambda w: w.lower(), content)