Python Pathlib Get Children Javascript Console Input In Python