<commit_before># Add auto-completion and a stored history file of commands to your Python
# interactive interpreter. Requires Python 2.0+, readline. Autocomplete is
# bound to the Esc key by default (you can change it - see readline docs).
#
# Store the file where you want and set environment variable to point
# to it:  export PYTHONSTARTUP="$HOME/path/to/the/file" in your ${SHELL}rc
# Normally .bashrc or .zshrc

import atexit
import os
import sys
import rlcompleter
try:
    import readline
except ImportError:
    try:
        import pyreadline as readline
    except ImportError:
        print("Error importing readline and pyreadline modules")

__header__ = """
                                     -`
                     ...            .o+`
                  .+++s+   .h+     `ooo/
                 `+++%++  .h+++   `+oooo:
                 +++o+++ .hhs++o `+oooooo:
                 +s%%so%.hohhooo -+oooooo+:
                 `+ooohs+h+sh++`/:-:++oooo+:
                  hh+o+hoso+h+`/++++/+++++++:
                   `+h+++h.+ `/++++++++++++++:
                            `/+++ooooooooooooo/`
                           ./ooosssso++osssssso+`
                          .oossssso-````/ossssss+`
                         -osssssso.      :ssssssso.
                        :osssssss/  Mike  osssso+++.
                       /ossssssss/   8a   +ssssooo/-
                     `/ossssso+/:-        -:/+osssso+-
                    `+sso+:-`                 `.-/+oso:
                   `++:.                           `-/+/
                   .`                                 `/
"""

sys.ps1 = "Mike >>>"
sys.ps2 = "Mike ..."

print(__header__)

historyPath = os.path.expanduser("~/.pyhistory")
try:
<commit_msg>Small change in python startup script<commit_after># Add auto-completion and a stored history file of commands to your Python
# interactive interpreter. Requires Python 2.0+, readline. Autocomplete is
# bound to the Esc key by default (you can change it - see readline docs).
#
# Store the file where you want and set environment variable to point
# to it:  export PYTHONSTARTUP="$HOME/path/to/the/file" in your ${SHELL}rc
# Normally .bashrc or .zshrc

from __future__ import unicode_literals
from __future__ import print_function
from __future__ import with_statement
from __future__ import division

import atexit
import os
import sys
import rlcompleter

try:
    import readline
except ImportError:
    try:
        import pyreadline as readline
    except ImportError:
        print("Error importing readline and pyreadline modules")

__header__ = """
                                     -`
                     ...            .o+`
                  .+++s+   .h+     `ooo/
                 `+++%++  .h+++   `+oooo:
                 +++o+++ .hhs++o `+oooooo:
                 +s%%so%.hohhooo -+oooooo+:
                 `+ooohs+h+sh++`/:-:++oooo+:
                  hh+o+hoso+h+`/++++/+++++++:
                   `+h+++h.+ `/++++++++++++++:
                            `/+++ooooooooooooo/`
                           ./ooosssso++osssssso+`
                          .oossssso-````/ossssss+`
                         -osssssso.      :ssssssso.
                        :osssssss/  Mike  osssso+++.
                       /ossssssss/   8a   +ssssooo/-
                     `/ossssso+/:-        -:/+osssso+-
                    `+sso+:-`                 `.-/+oso:
                   `++:.                           `-/+/
                   .`                                 `/
"""

sys.ps1 = "Mike >>> "
sys.ps2 = "Mike ... "

print(__header__)

historyPath = os.path.expanduser("~/.pyhistory")
try:

{'fraction_non_alphanumeric': 0.14396028681742967, 'fraction_numerical': 0.0027578599007170436, 'mean_word_length': 1.3013959390862944, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 8, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1040670', 'n_tokens_mistral': 1162, 'n_tokens_neox': 1083, 'n_words': 265}