chdir (pypi): Tiny library for setting the working directory to the location of a Python script.
Keywords: library