The code below works completely fine. However, once the subprocess is called and the external python script is executed it starts popping up rapidly a command prompt as the output of the script is plain text. However, we have tried everything to disable that pop up. We tried adding 'shell=False' and 'shell=None'. We even tried to edit the external script itself and modify its subprocess calls but it has none.
if os.path.exists(oldpath): shutil.copy(root.wgetdir + "\\" + root.website.get() + "\\" + item, keyworddir + "\\" + item)
shellreturn = subprocess.check_output(["C:\Python34\python",root.wgetdir + "\html2text.py", keyworddir + "\\" + item])
print(shellreturn)
shelllist = shellreturn.decode().splitlines()