Python Pathlib Get Children Javascript Console Print