Hacking Cesar's cipher.
Run brut.py with two argruments. First argument is mandatory and its is filename(if you want use console input use "-" without quotes) and second argument is file encoding, if you use utf8 you can leave blank this argument, but if you use cp1251 then use cp1251.
Simple calculating quadratic deviation for frequncy letters in text and in russian language.