<commit_before>"""
Test Program

"""
import sys


def main():

    python = sys.version.split("\n")[0]

    try:
        name, curdir, curexpno, curprocno = sys.argv
        message = f"""
        Welcome to Python {python}.
        The current directory is set to {curdir}
        EXPNO {curexpno} is currently open at PROCNO {curprocno}
        """

    except ValueError:
        message = f"""
        Welcome to Python {python}.
        No directory is currently open.
        """

    print(message)


if __name__ == "__main__":
    main()<commit_msg>removed f-strings for compatibility with python < 3.6<commit_after>"""
Test Program

"""
import sys


def main():

    python = sys.version.split("\n")[0]

    try:
        name, curdir, curexpno, curprocno = sys.argv
        message = """
        Welcome to Python {}.
        The current directory is set to {}
        EXPNO {} is currently open at PROCNO {}
        """.format(python, curdir, curexpno, curprocno)

    except ValueError:
        message = """
        Welcome to Python {}.
        No directory is currently open, 
        or none was passed on to this script.
        """.format(python)

    print(message)


if __name__ == "__main__":
    main()
{'fraction_non_alphanumeric': 0.1169255928045789, 'fraction_numerical': 0.003270645952575634, 'mean_word_length': 2.1709844559585494, 'pattern_counts': {'":': 2, '<': 4, '<?xml version=': 0, '>': 3, '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': '741040', 'n_tokens_mistral': 368, 'n_tokens_neox': 354, 'n_words': 119}