Changing IDLE default path
/Applications/Python 3.x/IDLE.app/Contents/Resources
os.chdir(os.path.expanduser(‘~/Desktop/CWD’))
When this cause IDLE to crash with some idiotic message, this is because some file(s) in the folder you set as the default path, contains “import pickle”. Delete this file!