<commit_before>#!/usr/bin/env python3
import os
import readline
import shelve
import sys

assert sys.version_info >= (3, 5), 'You must use at least Python 3.5.'

# Change directory to directory that includes play.py
os.chdir(os.path.dirname(os.path.abspath(__file__)))

from src import parser
from src import locations
from src import classes
from src import utils


def main():
    utils.clrscn()
    splash = classes.Splash("THE GAME")

    sfExists = False
    for i in os.listdir():
        if i.startswith('save'):
            sfExists = True
            break
    if sfExists:
        save = shelve.open('save')
        player = save['player']
        Locations = save['locations']
        save.close()
        player.locations = Locations
        for i in Locations:
            player.visitedPlaces[i] = False
        player.location.giveInfo(True, player.light)
    else:
        player = classes.Player(locations.Location_Storage, locations.start)
    previousNoun = ''
    turns = 0
    darkTurn = 0
    while True:
        try:
            command = parser.parseCommand(input('> '))
            if command is not None:<commit_msg>Remove whatever that thing was<commit_after>#!/usr/bin/env python3
import os
import readline
import shelve
import sys

assert sys.version_info >= (3, 5), 'You must use at least Python 3.5.'

# Change directory to directory that includes play.py
os.chdir(os.path.dirname(os.path.abspath(__file__)))

from src import parser
from src import locations
from src import classes
from src import utils


def main():
    utils.clrscn()

    sfExists = False
    for i in os.listdir():
        if i.startswith('save'):
            sfExists = True
            break
    if sfExists:
        save = shelve.open('save')
        player = save['player']
        Locations = save['locations']
        save.close()
        player.locations = Locations
        for i in Locations:
            player.visitedPlaces[i] = False
        player.location.giveInfo(True, player.light)
    else:
        player = classes.Player(locations.Location_Storage, locations.start)
    previousNoun = ''
    turns = 0
    darkTurn = 0
    while True:
        try:
            command = parser.parseCommand(input('> '))
            if command is not None:
{'fraction_non_alphanumeric': 0.09818664307828394, 'fraction_numerical': 0.006191950464396285, 'mean_word_length': 2.458715596330275, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '3323692', 'n_tokens_mistral': 676, 'n_tokens_neox': 656, 'n_words': 200}