Python Pathlib Get Current Year In Javascript