<commit_before>import subprocess
def GenerateCover():
	Cover = "Cover"
	BookName = "BookName"
	BookCover = BookName + Cover
	BookCoverHTML = BookCover + ".html"
	CSS = "CSS_"
	CSSExt = "CSSExt"

	pandocCommand = "pandoc ..\\source\\" + BookCover + ".txt -o "
	+ BookCoverHTML + " -standalone " + CSS_ + Cover + ".css --verbose"
	subprocess.call(pandocCommand, stdout=FNULL, stderr=FNULL, shell=False)

if __name__ == '__main__':
	GenerateCover()<commit_msg>Make pandoc runnable<commit_after>import subprocess
def GenerateCover():
	#Cover = "Cover"
	#BookName = "BookName"
	#BookCover = BookName + Cover
	#BookCoverHTML = BookCover + ".html"
	#CSS = "CSS_"
	#CSSExt = "CSSExt"

	#pandocCommand = "pandoc ..\\source\\" + BookCover + ".txt -o "
	#+ BookCoverHTML + " -standalone " + CSS_ + Cover + ".css --verbose"
	pandocCommand = ["pandoc", "..\\source\\test.txt", "-o", "test.html"]
	with open('dujing.log', 'w') as trace:
		subprocess.call(pandocCommand, stdin=None, stdout=trace, stderr=None, shell=True)

if __name__ == '__main__':
	GenerateCover()
{'fraction_non_alphanumeric': 0.17126546146527116, 'fraction_numerical': 0.0, 'mean_word_length': 4.422680412371134, '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': '2733208', 'n_tokens_mistral': 414, 'n_tokens_neox': 390, 'n_words': 88}