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

import ST7735
import sys

st7735 = ST7735.ST7735(
    port=0,
    cs=1,
    dc=9,
    backlight=12,
    rotation=270,
    spi_speed_hz=10000000
)

# The main loop
try:

    #Setup
    st7735 = ST7735.ST7735(
        port=0,
        cs=1,
        dc=9,
        backlight=12,
        rotation=270,
        spi_speed_hz=10000000
    )


    # Reset the display
    st7735.begin()
    st7735.reset()
    st7735.set_backlight(0)

    print "\nProgram Ended."  

# Exit cleanly
except KeyboardInterrupt:
    sys.exit(0)<commit_msg>Fixed bug<commit_after>#!/usr/bin/env python3

import ST7735
import sys

st7735 = ST7735.ST7735(
    port=0,
    cs=1,
    dc=9,
    backlight=12,
    rotation=270,
    spi_speed_hz=10000000
)

# Reset the display
st7735.begin()
st7735.reset()
st7735.set_backlight(0)

print "\nDone."  

# Exit cleanly
sys.exit(0)
{'fraction_non_alphanumeric': 0.11503416856492027, 'fraction_numerical': 0.13895216400911162, 'mean_word_length': 2.5587044534412957, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 3, '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': '4030491', 'n_tokens_mistral': 433, 'n_tokens_neox': 359, 'n_words': 66}