#!/usr/bin/env python #! -*- coding: utf-8 -*- pt = unicode(open('brazilbiz-pt.txt','U').read()) en = unicode(open('brazilbiz-en.txt','U').read()) enwords = en.split() ptwords = pt.split() def blocks(wordlist, n=100): length = len(wordlist) allblocks = [] blocklen = len(wordlist) % n return blocklen