<commit_before>"Build up the sphinx autodoc file for the python code"

import os
import sys

pywin_folder = os.path.split(__file__)[0]
pywin_folder = os.path.split(pywin_folder)[0]

sys.path.append(pywin_folder)
pywin_folder = os.path.join(pywin_folder, "pywinauto")<commit_msg>use os.path.dirname() rather than os.path.split()[0]<commit_after>"Build up the sphinx autodoc file for the python code"

import os
import sys

docs_folder = os.path.dirname(__file__)
pywin_folder = os.path.dirname(docs_folder)

sys.path.append(pywin_folder)
pywin_folder = os.path.join(pywin_folder, "pywinauto")
{'fraction_non_alphanumeric': 0.11505922165820642, 'fraction_numerical': 0.005076142131979695, 'mean_word_length': 6.493670886075949, 'pattern_counts': {'":': 0, '<': 3, '<?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': '2110430', 'n_tokens_mistral': 213, 'n_tokens_neox': 212, 'n_words': 47}