Python Path Get Current Year Postgres