<commit_before>#!/usr/bin/python3
import sys, time, traceback, pprint

sys.stdout.close()

while True:
    line = sys.stdin.readline()
    if line:
        i = open(line[:-1] + ".in", "r")
        sys.stdout = open(line[:-1] + ".out", "w")
        try:
            for l in i:
                exec(l)
        except:
            traceback.print_exc(file=sys.stdout)
        i.close()
        sys.stdout.close()
    else:
        time.sleep(0.1)<commit_msg>Teach vim how to deal with python<commit_after>#!/usr/bin/python3
import sys, time, traceback, pprint

sys.stdout.close()

while True:
    line = sys.stdin.readline()
    if line:
        i = open(line[:-1] + ".in", "r")
        sys.stdout = open(line[:-1] + ".out", "w")
        try:
            for l in i:
                exec(l)
        except:
            traceback.print_exc(file=sys.stdout)
        i.close()
        sys.stdout.close()
    else:
        time.sleep(0.1)

# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4
{'fraction_non_alphanumeric': 0.1529888551165147, 'fraction_numerical': 0.013171225937183385, 'mean_word_length': 1.8554913294797688, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1935176', 'n_tokens_mistral': 352, 'n_tokens_neox': 346, 'n_words': 76}