<commit_before>#!/usr/bin/python
#-*- coding: UTF-8-*-

import cgi
import cgitb
import os
import sys

sys.path.append("/home/tinyos/devel/BerePi/apps/tinyosGW/cgi")
#import simple

if __name__ == "__main__":

    cgitb.enable()
    args = cgi.FieldStorage()  
    #print os.environ.items()

    print "Content-type: text/html\n"
    
    print "Simple CGI, Python ! <br>"
    print args

<commit_msg>Update simple.py<commit_after>#!/usr/bin/python
#-*- coding: UTF-8-*-

import cgi
import cgitb
import os
import sys

sys.path.append("/home/tinyos/devel/BerePi/apps/tinyosGW/cgi")
#import simple

if __name__ == "__main__":

    cgitb.enable()
    args = cgi.FieldStorage()  
    #print os.environ.items()

    print "Content-type: text/html\n"    
    print "Simple CGI, Python ! <br>"
    print args


{'fraction_non_alphanumeric': 0.15087281795511223, 'fraction_numerical': 0.0024937655860349127, 'mean_word_length': 3.0969387755102042, 'pattern_counts': {'":': 2, '<': 5, '<?xml version=': 0, '>': 5, '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': '5771614', 'n_tokens_mistral': 313, 'n_tokens_neox': 301, 'n_words': 65}