API
For Contributors
Change current directory, used as a context manager, ie:
>>> folder = r"C:/" >>> with chdir(folder): >>> print(os.getcwd()) 'C:/'
newdir (str) – New directory