Python Pathlib Get Children Javascript Console