<commit_before>#!/usr/bin/env python

import datetime, copy, csv, igraph, math, os, random, re, sqlite3
import sys, time, types, unicodedata
from xml.dom  import minidom
import zipfile<commit_msg>worked on script for checking module presence<commit_after>#!/usr/bin/env python

print "testing for imports"

import datetime, copy, csv
import math, os, random, re, sqlite3
import sys, time, types, unicodedata
from xml.dom  import minidom
import zipfile

imports = ["foo", "bar"]

try:
    import zipfile
    print "zipfile found"
except ImportError:
    print "zipfile not found"


try:
    import igraph
    print "igraph found"
except ImportError:
    print "igraph not found"

{'fraction_non_alphanumeric': 0.08849557522123894, 'fraction_numerical': 0.0029498525073746312, 'mean_word_length': 4.432, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '3351398', 'n_tokens_mistral': 223, 'n_tokens_neox': 212, 'n_words': 82}